![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9 | 0ktalmagik | SUN Solaris | 4 | 02-03-2009 09:37 AM |
| current CPU usage, memory usage, disk I/O oid(snmp) | S_venkatesh | SUN Solaris | 2 | 12-13-2008 06:19 AM |
| how can I find cpu usage memory usage swap usage and logical volume usage | alert0919 | HP-UX | 3 | 12-02-2008 02:38 PM |
| How to determine cpu&memory percentage usage per user | hp-ux-user | HP-UX | 4 | 03-10-2005 07:53 AM |
| Total Memory/Swap Memory | ghe1 | Filesystems, Disks and Memory | 4 | 04-01-2002 11:33 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Total usage memory by user
Hi,
When running top on linux redhat machine , i see that i have 16gb of memory in my machine and about 14.5gb of memory are in use: Mem: 16395780k total, 14970960k used, 1424820k free, 370264k buffers Swap: 4192956k total, 25824k used, 4167132k free, 12029400k cached How can i sum the size of memory in use by USER. Thanks Yoav ![]() |
|
|||||
|
It is not that plain easy; you might want to read this article to see why:
Virtual Threads: Understanding memory usage on Linux |
|
||||
|
Quote:
Many thanks for the info. I found many new things going through the link as i just started my carrier with UNIX. ![]() |
|
||||
|
Quote:
Try this command: Code:
ps aux | awk '$1 == "reddybs" {sum +=$4}; END {print sum}'
OR When you execute top command, press u and then type the username. This will give you top processes owned by the user. Cheers, Sai |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|