General :: How To Determine Number Of RAM Slots Using Dmidecode

Apr 5, 2011

I m using SUN Server .
How would i determine the number of RAM slots using dmidecode.

I m running following command to get RAM information. code....

View 7 Replies


ADVERTISEMENT

General :: Determine Number Of Blocks For A Partition?

Jul 1, 2010

Can someone explain how to determine the number of blocks to determine the number of cylinders for a new partition on hard drive.

Why is block size divided by 1024?

I think I understand unit size is the total bytes per cylinder, I get that. I understand the anatomy of the hard drive (i.e. heads, sectors, cylinders.

My problem is, if I need to calculate the number of cylinders needed for let's say a 20G partition on a 120G drive.

View 1 Replies View Related

General :: Determine The Number Of Physical CPUs Under Both Windows?

Sep 9, 2010

When running cat /proc/cpuinfo under Linux, a variety information is kicked-back. For example:

> cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU 5130 @ 2.00GHz

[Code]...

First, what does all of that actually mean? I see I have a processor 0 and processor 1. Does that mean Linux is reporting both cores of the CPU, or, since it is a VM, the two that I happen to have right now (even if they're on physically different CPUs)?

Second, how can I get a similar information dump form the command line in Windows? Third, is there a way using either platform to determine the number of physical CPUs versus total CPU cores?

View 2 Replies View Related

General :: Determine Number Of Rows And Columns Of File In Shell?

Mar 4, 2010

if there's a tab-delimited file under /usr/desktop, how can I determine the number of rows and columns of the file in shell?And, if told the the 3rd column of the file contains only numerical values and all values in the 5th column are unique, how can I verify these in shell?

View 13 Replies View Related

General :: Determine What Gnome Desktop Number A Gnome Terminal Is Connected To?

Apr 29, 2010

In KDE's Konsole, I can do the following from the terminal:

dcop kwin KWinInterface currentDesktop

And it will tell me which desktop my terminal is connected to ( per [URL])

How can I determine what desktop number the current gnome terminal in a gnome session is connected to?

View 1 Replies View Related

Ubuntu Installation :: Determine Boot Device Number?

Jun 30, 2011

I'm currently running Ubuntu (w/ GRUB) and Windows XP. I'd like to remove Ubuntu and run the recovery on Windows XP because it has started not running correctly. The computer is about 5 years old and I figured I'd just wipe it clean and start over (read: remove Ubuntu and reinstall windows via the recovery console).

I intend to follow the tutorial here: [URL]

However, I'm confused about determining the boot device number for Windows. I've run "sudo fdisk -l" and I can identify the windows drive in the list it says:

Device: /dev/sda1
Boot: *
Start: 1
End: 19352
Blocks: 155444908+
Id: 7
System: HPFS/NTFS

Am I looking for the 7, the 1, or something completely different? This is also the first partition on the list.

sda2 (id: c) is a FAT32 drive. I think this is the recovery partition included on the HP desktop.

sda3 (id:83) is Linux
sda4 (id: 82) is swap

I just need to run fixmbr.

View 2 Replies View Related

General :: Can't Use Dmidecode In System / Why Is So?

Jun 9, 2010

Why I can't use dmidecode (version 2.8) in Linux Debian Etch (kernel 2.6.15.7) with a ordinary user?

It's returning a message:
/usr/sbin/dmidecode
# dmidecode 2.8
/dev/mem: Permission denied

With root user I have no problem.

View 1 Replies View Related

General :: Increasing MySQLD SuperUser Slots

Mar 17, 2011

In my office we sometimes have servers that hit the max_connections limit. As we sometimes have scripts that take up that 1 extra 'superuser' slot for MySQLD, we'd like to raise that. Google really hasn't turned up much on this, is there a way to raise the number of slots?

View 1 Replies View Related

General :: Can't Find Boot Device - Error "Unable To Determine Major/minor Number Of Root Device"

Mar 17, 2011

I just compiled my first own kernel (I'm using Arch Linux), following the tutorial on the german site. Now I tried to boot it, I ended up failing with this message: Code: Waiting 10 seconds for device /dev/sda1 ... Root device '/dev/sda1' doesn't exist, Attempting to create it. ERROR: Unable to determine major/minor number of root device '/dev/sda1' Here is the important part of my menu.lst:

[Code]....

I simply copy&pasted the Arch-entry, i.e. I also had the disk by uuid there. The failure message was the same, just the root device name was the different name Also, at first I did not have the initrd line in my menu.lst (as written in my tutorial that I may not need it). In this case I had this error message:

[Code]....

View 10 Replies View Related

General :: Get Hardware Information On Ubuntu Using Dmidecode Command?

Mar 8, 2011

Dmidecode is a tool for dumping a computer's DMI (some say SMBIOS ) table contents in a human-readable format. This table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware. While this is a good point in terms of report speed and safeness, this also makes the presented information possibly unreliable.
The DMI table doesn't only describe what the system is currently made of, it also can report the possible evolutions (such as the fastest supported CPU or the maximal amount of memory supported).
SMBIOS stands for System Management BIOS , while DMI stands for Desktop Management Interface. Both standards are tightly related and developed by the DMTF (Desktop Management Task Force). code...

View 7 Replies View Related

General :: Windows 7 - Order In The Slots Of Memory Modules Matter/ MemTest?

Apr 4, 2011

In a new PC I had constantly BSoD. I tracked it down to bad memory modules and took them back to the shop.Specifically the RAM was Corsair. Anyway they said they will do test on memory to confirm. They did tests and admitted the RAM was faulty and gave me a replacement. At this point: originally I bought 2 kits of 4G RAM. One of the kits turned out bad. They gave me a replacement, it does not seem to be exactly the same, though. In any case, I became causious and as soon as I got them I put them in the PC and run KUbuntu memtest. It started showing thousands of errors! (Again!). I removed the new kit and run the test again. No errors. I swapped the slots I put the memory modules and also no errors. I can not understand now. Is the new RAM kit bad or not? Does the slots I place the kits matter?

View 3 Replies View Related

Fedora Security :: Cryptsetup: How To List Used Slots

Jan 13, 2011

The simple question 'How do I list all the used/unused LUKS slots' wasn't found in either cryptsetup Wiki or its man page.Is this possible - to list all the available/used LUKS slots for a given device?

View 2 Replies View Related

Programming :: C/c++ Getting Serials \ Used An Execl Call To Dmidecode And Parsed It Using Sed To Get Serial Numbers?

Nov 23, 2010

I used an execl call to dmidecode and parsed it using sed to get serial numbersso a business friend could make a (mostly) unique serial when his cross platform software is installed on different machines.I know this is falling outside the spirit of Linux being a profit thing, but the request has been to now do the same thing without using Linux commands. Which sounds like a chore since I would be re-inventing something that already exist namely dmidecode. Is the source available for dmidecode?I have no idea where to start to look for the info like dmidecode provides.

View 6 Replies View Related

General :: Unix Ps -l Priority Whoes One Number In Column "PRI" But In Same Time Ps -o Pri Shows Another Number?

May 21, 2011

Why does unix ps -l whows one number in column "PRI" but in same time ps -o pri shows another number? cpu and nice are zero for those processes

View 1 Replies View Related

Debian Hardware :: When Boot Plaptop Whith Memorycards In Slots Boot Hangs

Aug 28, 2010

When I boot up my laptop whith memorycards in the slots the boot hangs at "Wating for /dev to be fully populated", "Activating swap" or somewhere in between.If I take out the memorycards so the slots are empty, the laptop boots just fine...Its a CFCard and a SDcard in a PCIMAslot.Does anyone have a clue?Its not a big problem just very annoing to have to take out the memcards all the the time.

View 4 Replies View Related

Red Hat :: Install Dmidecode And Procinfo In RHEL 4 / RHEL 3?

Feb 6, 2009

I have RHEL 4, RHEL 3, i need install dmidecode RPM packet and procinfo packet... exist this packets for this linux versions?

View 11 Replies View Related

General :: Determine If Login Via Ssh?

Apr 13, 2010

Just wondering if there is a way to determine if the user has logged in is via ssh or if they are sitting directly in front of the PC and have logged in that way.I was going to do it via the .bash_profile so once they have logged in the bash_profile is run and it will have a test to see if the user is logged in via ssh or 'direct' log in. but not sure how or if this can be done.

View 2 Replies View Related

General :: Determine The Serial # Of The New Hdd?

Jan 20, 2010

I have cloned my linux OS onto a new hdd. Now even tho the system will boot, it directs me to the login screen and asks me to fix the location of the root dir because it is looking for /dev/disk/by-id with a very long serial #. I presume this is the old hdd serial #. How can I determine the serial # of the new hdd and change it in fstab? Is this the correct idea? Is it just......ls /dev/disk/by-id???

View 2 Replies View Related

General :: Determine Which Programs Are Using Swap / How Much

Apr 20, 2011

I'm interested in figuring out which programs on my machine are using swap, and how much each is using. I realize this can probably be done with top, but I am having trouble figuring how how.

What I've tried:

Start top
Press f (add column)
Press p (SWAP colum)

This adds a SWAP column, but the data doesn't seem to be correct. Top lists Firefox as using 582m of swap, but the header simultaneously reports that 0k of swap is being used.

Is there a better way to monitor swap usage?

View 2 Replies View Related

General :: Determine What Sound Card I Have?

Jul 2, 2011

How do I determine what sound card I have? How do I find out for sure what version of Linux I am running? I think it is 10.04 Lucid.My computer is a Dell desktop, pentium 4.

View 7 Replies View Related

General :: What Command Run To Determine The IP Numbers?

Apr 20, 2011

Firstly I would like to say that Linux is very cool, especially the CLI. I have been trying to learn how to do some things in Fedora after being told Fedora was a good distro to get my feet wet. I have run into some issues and cant seem to find any answers. What Linux utility can be configured to automatically save the current logs?

How does your Fedora get an IP number? What IP numbers has your Fedora been assigned since it was installed (based on the logs you have)? What command did you run to determine the IP numbers? What command would you run to determine the number of times a user successfully used "su"? What command would you run to determine the number of times a user unsuccessfully used "su"? Having some issues with the file system as your Fedora boots up.

View 5 Replies View Related

General :: Trying To Determine Hardware Failure

Jun 25, 2010

server has stopped responding 2x the past week. can't authenticate locally, web servers are not responding, etc. reboot seems to resolve the issue temporarily, but it looks like a disk or controller failure.

View 2 Replies View Related

General :: Determine How Much Quota Is Assigned To A User?

Nov 13, 2009

We have quota system in home directory and there is binary aquota.user file.

How do i determine how much quota is assigned to a user?

View 1 Replies View Related

General :: Determine Formatting Of SD Card In Ubuntu?

Mar 14, 2010

How do I, in Ubuntu, determine what the formatting (e.g FAT etc.) of an SD card is?

View 2 Replies View Related

General :: Determine What Files Are Being Accessed By A Process

Mar 23, 2010

How would I find out all the files a particular process accesses?

I am using Ubuntu 9.04.

View 1 Replies View Related

General :: Determine Which Application Is Using Port 8080?

May 18, 2010

Finding the process that is using a certain port in linux

I have an Ubuntu Server setup, where I'm trying to set up a daemon that wants to have access to port 8080. When I run the command, the error message says it's being used by another process. But which one, it doesn't say. How can I go about finding which program uses this port?

View 1 Replies View Related

General :: CentOS - Determine IP For Network Device

Sep 20, 2010

When CentOS boots up, it tries to determine the IP for a network device (eth0) and fails.
'Determining IP information for eth0... failed; no link present.'
I'm curious to know how, after booting up, I could set the IP information for a wireless device, wlan0, manually. Another way of putting this questions is: if CentOS is able to determine IP information for a network device on bootup, what settings is it configuring exactly?

View 2 Replies View Related

General :: How Does Du Determine Which Hard Link To Disregard

Nov 16, 2010

We have two directories:

$ ls -l
total 8
drwxr-x--- 2 nimmy nimmy 4096 Nov 15 19:42 jeter
drwxr-x--- 2 nimmy nimmy 4096 Nov 15 19:42 mariano

I create one file in the first folder:

$ dd if=/dev/zero of=jeter/zero_file.1 bs=512000 count=1
1+0 records in
1+0 records out
512000 bytes (512 kB) copied, 0.268523 s, 1.9 MB/s

This is the output of du:

$ du -sh *
504K jeter
4.0K mariano

As expected, if I place a hard link of the zero_file. in the other folder du output does not change:

$ ln jeter/zero_file.1 mariano/zero_file.2
$ du -sh *
504K jeter
4.0K mariano

there is nothing in the filesystem that points to zero_file.1 as the original file. So how does du know to count zero_file.1 but not zero_file.2?It cannot be a timestamp comparison because all hard links share one inode; they'll have the same timestamp data correct?

View 3 Replies View Related

General :: Determine The Actual Command That Is Piping?

Feb 11, 2011

Let's say I have a bash script called log.sh. In this script, I want to read in input from a pipe, but I also want to know the command used to pipe input into me. Example:

tail -f /var/log/httpd/error | log.sh

In the shell script, I want to know the command tail -f /var/log/httpd/error.

View 2 Replies View Related

General :: Determine Socket From /proc/cpuinfo?

Jan 13, 2010

Is there a simple way to determine the CPU socket from the output of /proc/cpuinfo. Determining the type of processor is simple enough, but the processor I have (Celeron) has two different possible sockets. The output of /proc/cpuinfo is:

processor : 0
vendor_id : GenuineIntel
cpu family : 15

[Code]...

I've looked on the Intel processor finder web site with appropriate filters, but the stepping values do not appear to match anything.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved