Sponsored Content
Full Discussion: Total usage memory by user
Top Forums Shell Programming and Scripting Total usage memory by user Post 302309498 by reddybs on Wednesday 22nd of April 2009 04:00:18 AM
Old 04-22-2009
Quote:
Originally Posted by zaxxon
It is not that plain easy; you might want to read this article to see why:

Virtual Threads: Understanding memory usage on Linux
Hi zaxxon,

Many thanks for the info. I found many new things going through the link as i just started my carrier with UNIX.Smilie
 

10 More Discussions You Might Find Interesting

1. HP-UX

How to determine cpu&memory percentage usage per user

Using HP-UX v11 Need to monitor cpu and memory usage, total for system and separately for each user in command-line mode. Found out next ways to monitor total cpu usage under hp-ux: 1) vmstat, also shows free memory 2) sar -M ps -eo user,pcpu - does not work, means 'user-defined format'... (4 Replies)
Discussion started by: hp-ux-user
4 Replies

2. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

3. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

4. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

5. UNIX for Dummies Questions & Answers

determine total memory used by some user/process

HI guys, :confused:i would like to know how can i determine the total/approx memory used by a single user. Example Top output is below =========================================================================== top - 20:00:50 up 24 days, 2:48, 2 users, load average: 0.43, 0.40, 0.37... (3 Replies)
Discussion started by: cromohawk
3 Replies

6. UNIX for Dummies Questions & Answers

HOWTO - Total memory and CPU usage ... without top?

Hi all, Is it possible to get total memory usage and free memory usage without top? By Googling I found for total memory usage, use vmstat, for CPU, use mpstat, for disk I/O use iostat, is this correct? Will using sar gives the same result as ALL of these three (3) commands? What about if I... (2 Replies)
Discussion started by: newbie_01
2 Replies

7. UNIX for Dummies Questions & Answers

Is total CPU usage for sar %user+%system+%iowait?

Hi all Can anyone advise/confirm whether total CPU usage when running sar is %user+%system+%iowait or is it %user+%system only? I want to confirm whether I am having a CPU-bound problem or not. This is a single-CPU VMware machine. $ sar 5 20 Linux 2.6.18-238.5.1.el5... (7 Replies)
Discussion started by: newbie_01
7 Replies

8. UNIX for Advanced & Expert Users

Finding out total memory usage

Hi, I have a server box with 16GB ram in it, within the server box there are 3 VMs running with a total allocation of 9GB. if I add up all the numbers under memory info using vmstat I get 15.8GB so I can say it adds up to 16Gb... Is there a way to see from the command line how much memory... (2 Replies)
Discussion started by: speedhunt3r
2 Replies

9. Solaris

Solaris 10: Listing the memory usage based on UNIX user wise.

Hello All I have a Solaris 10 machine, wherein processes are run in various unix users. a. How do I list the memory usage per user? b. Can I get a top command kind of output per user rather than entire machine? Thanks Sunil Kumar (3 Replies)
Discussion started by: msgforsunil
3 Replies

10. UNIX for Dummies Questions & Answers

Memory usage per user,percent usage,sytem time in ksh

Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies
Clamdtop(1)							  Clam AntiVirus						       Clamdtop(1)

NAME
clamdtop - monitor the Clam AntiVirus Daemon SYNOPSIS
clamdtop [options] [clamdspec ...] DESCRIPTION
clamdtop is a tool to monitor one or multiple clamd(s). It has a (color) ncurses interface, that shows the jobs in clamd's queue, memory usage, and information about the loaded signature database. You can specify on the command-line to which clamd(s) it should connect to. By default it will attempt to connect to the local clamd as defined in clamd.conf. OPTIONS
-h, --help Display help information and exit. -V, --version Print version number and exit. --config-file=FILE Read clamd settings from FILE, to determine how to connect to it. clamdspec Specifies the clamd to connect to: either a path to the local (unix domain) socket of clamd, or an IP address and an port number (that defaults to 3310) to connect to a local or remote clamd using TCP/IP. OVERVIEW
KEYS: H Displays a short helpscreen, describing the meaning of various elements on the display. Q Quits clamdtop R Resets the maximum values. up arrow, down arrow If you are monitoring multiple clamds then clamdtop will show an overview screen by default. You can use the up arrow and down arrow keys to cycle through each clamd individually, and the overview screen. A blue bar will highlight the clamd that is currently shown in detail. On the overview screen none of the clamds is selected (hence no blue bar), and you can see the items from the queue of all clamds. The top bar Shows the version of clamdtop and the current time. Clamdtop updates the display once every 2 seconds. The list of clamds Shows the clamds that clamdtop is connected to, and statistics about them. NO Unique clamd number CONNTIME How long clamdtop has been connected (reset upon a reconnect) LIV Total number of live threads IDL Total number of idle threads QUEUE Number of items in queue MAXQ Maximum number of items observed in the queue MEM Total memory usage (if available) HOST Which clamd, local means unix socket ENGINE Engine version DBVER Database version DBTIME Database publish time Clamd detailed view Primary threads live The number of threads that are executing commands or scanning. Primary threads idle The number of threads that are idle, waiting for commands. They will exit after IdleTimeout (30 seconds). Primary threads max The maximum number of threads configured. Queue items The number of items (scanjobs) in clamd's queue that are waiting for a free thread to be processed. Queue max The maximum number of items observed in clamd's queue. The memory usage view If available, it will show details on clamd's memory usage: Mem heap The amount of memory used by libc from the heap in MegaBytes. Mem mmap The amount of memory used by libc from mmap-allocated memory in MegaBytes. Mem unused The amount of memory that can be reclaimed by libc. Libc used The amount of useful memory allocated by libc. Libc free The amount of memory allocated by libc, that can't be freed due to fragmentation. Libc total The amount of memory allocated by libc from the system in total. Pool count The number of mmap regions allocated by clamd' memory pool allocator (for the signature database). Pool used The amount of memory used by clamd's memory pool allocator (for the signature database). Total The total amount of memory allocated by clamd's memory pool allocator. The clamd job queue COMMAND Kind of command being executed, STATS is clamdtop, SCAN/CONTSCAN/FILDES/MULTISCAN is scan of a file/directory, MULTISCANFILE is scan of one item by a MULTISCAN job. QUEUEDSINCE The time since the command got queued, until now. FILE The name of the file being processed (if applicable). EXAMPLES
(1) To connect to the clamd configured in the default clamd.conf: clamdtop (2) To connect to the clamd configured in another clamd.conf: clamdtop --config-file=/path/to/clamd.conf (3) To connect to a clamd running on another machine (192.168.0.3) on the LAN: clamdtop 192.168.0.3 (4) To connect to a clamd running on another machine (192.168.0.3) on a non-default port (3410): clamdtop 192.168.0.3:3410 (5) To monitor the local clamd and 2 other remote clamds over TCP/IP: clamdtop localhost 192.168.0.3 192.168.0.4 NOTES
clamdtop uses colors if the terminal is capable of colors. If you know your terminal is capable of colors, yet you aren't seeing any, then check that your TERM environment variable is set correctly. For example try setting it to TERM=xterm-color if you are in an xterm-like environment. RETURN CODES
0 : Normal terminator >0: Error occured. CREDITS
Please check the full documentation for credits. AUTHOR
Torok Edvin <edwin@clamav.net> SEE ALSO
clamd(8), clamd.conf(5) ClamAV 0.96.1 February 22, 2009 Clamdtop(1)
All times are GMT -4. The time now is 06:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy