Best ways to get clear info about CPU and Memory


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Best ways to get clear info about CPU and Memory
# 1  
Old 01-14-2015
Best ways to get clear info about CPU and Memory

Hello all
i did search the web and found allot of answers but im confused
what are the best ways to get this info via Linux default commands

1. current Cpu Usage in Percent
2. current Memory Usage In Bytes
3. current Memory Available In Bytes

Thanks!
# 2  
Old 01-14-2015
There is not necessarily such thing as a best way - it is usually the way that you like the best. I like:

Code:
1. top
2. free
3. free

For cpu - sometimes
Code:
sar -q

is more enlightening. But this requires that you have configured and run sar.

Last edited by jim mcnamara; 01-14-2015 at 12:29 PM..
# 3  
Old 01-15-2015
In general top should cover all you needs in realtime, keep in mind you can press 1 to get statistics per cpu core
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

clear cache memory

hi all, i have noticed that my server has 64 GB RAM and i have application in this server but the server has free memory only 15% and utilized 85% however it didn't eat from swap . does any parameter can be configured in kernel to make the system clear memory from cache like linux i found... (4 Replies)
Discussion started by: maxim42
4 Replies

2. Programming

Ways to preserve a memory cache

The environment is Java/Windows. The program keeps near real-time state in memory cache, which is updated by multiple sources, size of the cache is roughly 500 MB, frequency of updates is ~ 20 per second. I am looking into different ways to keep current snapshot of the memory on the disk for a)... (9 Replies)
Discussion started by: migurus
9 Replies

3. UNIX for Dummies Questions & Answers

Advanced info on CPU Emulators

I have searched and searched this topic but without looking at source code ; my next step maybe , I find the same ambiguous information. My main question is how is the target code translated? It is stated that there are variables created that hold the data that the emulated CPU would hold in... (12 Replies)
Discussion started by: theKbStockpiler
12 Replies

4. UNIX for Dummies Questions & Answers

What are the best ways to get info on the encryption methods used on my laptop?

I have a laptop running ubuntu 10.10. In Gparted I see numerous partitions. This was installed 'I believe' using the 'encrypt home folder' option using the install disk. I am trying to determine 'as a matter of fact' since I did not do the install, which partitions are in fact encrypted, and... (0 Replies)
Discussion started by: Marcus Aurelius
0 Replies

5. HP-UX

CPU Info

Hi, I am going to buy a software that is licenced per CORE. I have a HPUX B1123 64 bit with 8 cpus. How can i know how many cores are in my machine ? Thanks (3 Replies)
Discussion started by: yoavbe
3 Replies

6. UNIX for Dummies Questions & Answers

cpu, memory and virtual memory usage

Hi All, Does anyone know what the best commands in the UNIX command line are for obtaining this info: current CPU usage memory usage virtual memory usage preferably with date and time parameters too? thanks ocelot (4 Replies)
Discussion started by: ocelot
4 Replies

7. HP-UX

cpu info

is there a single command or location from which one can get information like cpu Mhz,cpu cache...etc in HP UX:) (1 Reply)
Discussion started by: vijayca
1 Replies

8. UNIX for Dummies Questions & Answers

bus speed and CPU info

Hi, Is there a command I can use to find out how many CPU's and what type are on my server? (I was told to use cat /proc/cpuinfo) Also, how do I know what kind of bus speeds are on my server? Thanks in advance:) (3 Replies)
Discussion started by: ihot
3 Replies

9. SCO

Clear / Remove / Create Shared Memory...

Hi all... am not so much brilliant in this area... here i think many good hearted peoples around... so if anybody have intention to reply for my problem please give me a cut and clear picture of how... Thanks. ok comming to my problem... In our MHC server (Sco Unix 4.*) running 19 C process... (1 Reply)
Discussion started by: yocks
1 Replies

10. UNIX for Dummies Questions & Answers

clear memory

Hi... how can i clear the Memory on AIX 4.3.3 without rebooting (like flush memory on oracle database ) THANX fenomen (2 Replies)
Discussion started by: fenomen
2 Replies
Login or Register to Ask a Question