07-20-2010
This User Gave Thanks to malcolmpdx For This Post:
8 More Discussions You Might Find Interesting
1. Programming
Dear all,
I have a pro c application running in the unix environement.
This pro c program actually trigger by a java application from sun workstation.
Recently, when we released a new proc c application and notice that the application occupying the CPU resources even through we check that the... (1 Reply)
Discussion started by: ghho
1 Replies
2. Linux
Hello, guys !
Long time no seen. I have a question about Linux web servers. I guess it is a more general question, but in my case it is a Linux web server. I want to know how much RAM memory should I put on my servers. Do you have some formula or guidelines on how should I calculate the amount... (1 Reply)
Discussion started by: Sergiu-IT
1 Replies
3. Solaris
Hi,
I got a solarsi 10 box with 9 zones and the cpu shares as following
ID NAME SHARES
0 global 1
1 FMW1 100
2 FMW2 100
3 OID1 100
4 OID2 100
5 OVD1 100
6 OID0 100
7 FMW5 100
8... (2 Replies)
Discussion started by: fugitive
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
One of the senior network admins at work told me that I should not hard code temp files into my scripts. Rather I should use the mktemp commands in the script to create them on the fly.
His argument was that if a malicious user knew the name of my temp files in the script they could... (6 Replies)
Discussion started by: mojoman
6 Replies
5. Shell Programming and Scripting
Hi there,
As a regular unix user I am forever programming on the command line or writing scripts so that I first write a load of data to a file to read from. In the end I am always left with a bundle of .txt, .tmp which is what I usually call them. As a basic programmmer I was wondering is... (6 Replies)
Discussion started by: cyberfrog
6 Replies
6. Shell Programming and Scripting
Heyas
As some applications (sed,grep,vi, etc) create some tempfiles, i'd changed a script to this: (sadly i cant find the original post (code) anymore (which just removed 2 'diffrent kinds'), just similar ones - forgot that as i was new to all this)
:) ~ $ cat $(which rmtf)
#!/bin/sh
#... (1 Reply)
Discussion started by: sea
1 Replies
7. Solaris
Hey,
I have a V210 with a failed CPU fan.
The temperature is currently at 84C and I've been asked to wait a few weeks before replacing as its a production system and it cant be shut down yet.
Is it too hot? Do I risk killing the CPU at this temp?
Its been like this for a few weeks now... (5 Replies)
Discussion started by: magarvo
5 Replies
8. Shell Programming and Scripting
Hi All,
I am having a situation now to delete a huge number of temp files created during run times approx. 16700+ files. We have never imagined that we will get this this much big list of files during run time. It worked fine for lesser no of files in the list. But when list is huge we are... (7 Replies)
Discussion started by: mad man
7 Replies
LSCPU(1) User Manuals LSCPU(1)
NAME
lscpu - CPU architecture information helper
SYNOPSIS
lscpu [-hpx] [-s directory]
DESCRIPTION
lscpu gathers CPU architecture information like number of CPUs, threads, cores, sockets, NUMA nodes, information about CPU caches, CPU fam-
ily, model, bogoMIPS, byte order and stepping from sysfs and /proc/cpuinfo, and prints it in a human-readable format. It supports both
online and offline CPUs. It can also print out in a parsable format, including how different caches are shared by different CPUs, which
can be fed to other programs.
OPTIONS
-h, --help
Print a help message.
-p, --parse
Print out in parsable instead of human-readable format.
-s, --sysroot directory
Use the specified directory as system root. This allows you to inspect a snapshot from a different system.
-x, --hex
Use hexadecimal masks for CPU sets (e.g. 0x3). The default is to print the sets in list format (e.g. 0,1).
BUGS
The basic overview about CPU family, model, etc. is always based on the first CPU only.
Sometimes in Xen Dom0 the kernel reports wrong data.
AUTHOR
Cai Qian <qcai@redhat.com>
Karel Zak <kzak@redhat.com>
AVAILABILITY
The lscpu command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
Linux February 2011 LSCPU(1)