coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Sunday May 27, 2012


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 22 guests online

Newest Member

beyondimagem

Hit Counter
9133536 Visitors

cool Statistics
coolcommands:1330
Categories:83
Total queries:595500
Members:16437





Category Search coolcommands.com
Select Category:


coolcommand

ipcs - calculate the memory used by a user hiding in shared memory
Description

Traditional UNIX tools like topas, top or nmon won't show the memory consumed by a process if the memory is in a shared segment, to calculate the memory consumed in MB in shared memory by a user:

# ipcs -m -a | awk '/user/ {i+=$10} END { print i/1024/1024 }'
Example

ipcs -m -a | awk '/db2q510/ {i+=$10} END { print i/1024/1024 }'

Return to search results

Random coolcommands

coolcommand: how to verify if a service is running in Linux
Example: service squid status; service httpd stop; service sendmail start
[show me the details]
coolcommand: vxprint - how to display all the available information in Veritas Volume Manager
Example: vxprint -ht
[show me the details]
coolcommand: how to gather processor information on an attached IBM P5 server using the HMC
Example: lshwres -m p570 --header -Flpar_name, lpar_id, curr_shared_proc_pool_id, curr_proc_mode...
[show me the details]
coolcommand: hinv - how to get a hardware inventory on an SGI IRIX server
Example: hinv
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1152
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris49379
Category AIX46267
Category General UNIX43933
solaris22927
aix22116

Terms of Use
Privacy
Contact


 
coolcommands.com © 2012. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum