10-16-2008
hi
I have little knowledge of UNIX; I give u step by step in command u look that one
1. uname -r
2. grep 'physical id' /proc/cpuinfo |sort | uniq | wc -l
3. grep ^processor /proc/cpuinfo |wc -l
4.grep 'cpu cores' /proc/cpuinfo
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: Hi, 2 questions to get some insight. Thanks
(1) I would like to add a prefix (XX00) in each row of the line in my text file and save a newly generated file another name. How to go about it.
(2) How to insert a blank line into each row in my file. and save the file another name.... (2 Replies)
Discussion started by: merry susana
2 Replies
2. UNIX for Dummies Questions & Answers
okay so I just started this unix class and understood all the test questions but this "normal" question threy me through a loop :confused:. The question is Why are UNIX commands noninteractive and why is their output not usually preceededby header information? This question has been driving me... (2 Replies)
Discussion started by: cinnamonbear
2 Replies
3. Filesystems, Disks and Memory
Hello Everyone!
changing from Microsoft to Macintosh, I connected my hard disk (nearly full) to the apple computer, which could not recognize it. I was prompt to "initialize it", unfortunately I DECIDED YES!!, but just for 1/100 of a second: now I cannot access the hard disk at all.
Is still... (1 Reply)
Discussion started by: NETTO68
1 Replies
4. UNIX for Dummies Questions & Answers
I am trying to use 'cut' to get a line from my file. But it seems that 'cut' recongnizes TAB as default. My file uses space instead. So 'cut' doesn't work.
Anybody can tell me how to change the default from TAB to space ? Or how to transform a space-delimited file into tab-delimited file??... (2 Replies)
Discussion started by: kaixinsjtu
2 Replies
5. UNIX for Dummies Questions & Answers
So, I'm looking over /proc/cpuinfo and have a question... I've read that "siblings" refers to hyperthreading, but that seems odd considering the contents of cpuinfo. Here's a part:
model name : Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
physical id : 0
siblings : 4
core... (1 Reply)
Discussion started by: treesloth
1 Replies
6. Red Hat
Hi,
I wanted to understand what exactly /proc/cpuinfo shows?
We have a machine with following specification...
(2x) Intel Xeon 6-core processors
So, ideally it shouls have 12processors, but the output on /proc/cpuinfo shows 24 processors.
Can someone please explain how this is... (3 Replies)
Discussion started by: shrshah64
3 Replies
7. SuSE
Here is a chance for Linux users to easily compare Linux CPU info and some meaningless BOGOMIPS. Everyone who is running Linux is welcome to:
cat /proc/cpuinfo
and post the results.
Here is the results for www.unix.com:
processor : 0
vendor_id : AuthenticAMD
cpu family... (182 Replies)
Discussion started by: Neo
182 Replies
8. IP Networking
Hello everyone,
I have a some doubt about DNS. We have connected to 2 ISPs /ISP#1 and ISP#2/. Our web site's dns zone is located on ISP#1. If connection to ISP#1 is down clients won't find our website. ISP#1 connection went down few times this month.
So we are going to create our website's... (0 Replies)
Discussion started by: sembii
0 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have a file which has three columns and 200 rows. I would like to print an extra column say "disco" for every 10 th row starting from 4 th row. How is that possible?
Thnx (4 Replies)
Discussion started by: Indra2011
4 Replies
10. UNIX for Beginners Questions & Answers
Where can I get UNIX? (1 Reply)
Discussion started by: ciao303
1 Replies
LEARN ABOUT DEBIAN
fusioninventory::agent::tools::linux
FusionInventory::Agent::Tools::Linux(3pm) User Contributed Perl Documentation FusionInventory::Agent::Tools::Linux(3pm)
NAME
FusionInventory::Agent::Tools::Linux - Linux generic functions
DESCRIPTION
This module provides some generic functions for Linux.
FUNCTIONS
getDevicesFromUdev(%params)
Returns a list of devices, by parsing udev database.
Availables parameters:
logger a logger object
getDevicesFromHal(%params)
Returns a list of devices, by parsing lshal output.
Availables parameters:
logger a logger object
command the exact command to use (default: /usr/sbin/lshal)
file the file to use, as an alternative to the command
getDevicesFromProc(%params)
Returns a list of devices, by parsing /proc filesystem.
Availables parameters:
logger a logger object
getCPUsFromProc(%params)
Returns a list of cpus, by parsing /proc/cpuinfo file
Availables parameters:
logger a logger object
file the file to use (default: /proc/cpuinfo)
getInfoFromSmartctl(%params)
Returns some information about a drive, using smartctl.
Availables parameters:
logger a logger object
device the device to use
file the file to use
getInterfacesFromIfconfig(%params)
Returns the list of interfaces, by parsing ifconfig command output.
Availables parameters:
logger a logger object
command the command to use (default: /sbin/ifconfig -a)
file the file to use
getInterfacesFromIp(%params)
Returns the list of interfaces, by parsing ip command output.
Availables parameters:
logger a logger object
command the command to use (default: /sbin/ip addr show)
file the file to use
perl v5.14.2 2012-06-25 FusionInventory::Agent::Tools::Linux(3pm)