Hi All,
I need to know the command for knowing the total cpu and mem.
Thanks
Hi All,
I need to know the command for knowing the total cpu and mem.
Thanks
Check /proc/cpuinfo
and /proc/meminfo
assuming you want the system specs.
--ahamed
Hi,
you can use the command top
$ top
top - 18:15:55 up 8:23, 0 users, load average: 0.00, 0.00, 0.00
Tasks: 3 total, 1 running, 2 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.6% user, 3.1% system, 0.0% nice, 94.3% idle
Mem: 2097151k total, 825947k used, 1271204k free, 0k buffers
Swap: 2095104k total, 178172k used, 1916932k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6152 xyz 8 0 4872 2136 188 S 1 0.1 0:20.87 mintty
thanks,
venkat
In top command cpu is giving me in percetage .
can i get the original value , which is without percentage
What exactly are you looking for? CPU time, clockspeed, something else?
/usr/platform/`uname -`/sbin/prtdiag