Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how to monitor swap space paging activity? Post 302536969 by karlochacon on Wednesday 6th of July 2011 05:47:25 PM
Old 07-06-2011
someone guys?

today I found this


Code:
Mem:   2738708k total,  2657356k used,    81352k free,    84828k buffers
Swap:  2104472k total,       32k used,  2104440k free,  1073696k cached


when I should say swap could be affecting my system? is there percentage to or threshold?

---------- Post updated at 05:47 PM ---------- Previous update was at 05:45 PM ----------

by the way while top says 32KB swap

I've running vmstat 5

and si so are all zeros


Code:
procs -----------memory---------- ---swap-- -----io---- -system-- -----cpu------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 1  0     32  81376  84828 1073696    0    0     0   354  271 1204  2  0 98  0  0
 1  0     32  81732  84828 1073696    0    0     0    91  271 1202  0  0 100  0  0
 0  0     32  81740  84828 1073696    0    0     0    57  278 1185  0  0 99  0  0
 0  0     32  81772  84828 1073696    0    0     0     5  260 1110  0  0 100  0  0
 0  0     32  81772  84828 1073696    0    0     0   251  268 1140  0  0 100  0  0
 1  0     32  81772  84828 1073696    0    0     0     9  261 1118  0  0 100  0  0
 0  0     32  81772  84828 1073696    0    0     0    79  266 1126  0  0 100  0  0
 0  0     32  81896  84828 1073696    0    0     0    10  266 1169  0  0 100  0  0
 0  0     32  81896  84828 1073696    0    0     0    57  277 1262  0  0 99  0  0
 0  0     32  81888  84828 1073696    0    0     0   105  264 1173  0  0 99  0  0
 0  0     32  81880  84828 1073696    0    0     0   118  267 1218  0  0 99  0  0
 0  0     32  81880  84828 1073696    0    0     0    27  260 1143  0  0 100  0  0
 0  0     32  81872  84828 1073696    0    0     0   350  267 1220  1  1 98  0  0
 0  0     32  81748  84828 1073696    0    0     0    25  260 1169  0  0 100  0  0
 0  0     32  81756  84828 1073696    0    0     0    54  275 1252  0  0 100  0  0
 0  0     32  81904  84828 1073696    0    0     0     5  261 1141  0  0 100  0  0
 0  0     32  81888  84828 1073696    0    0     0    98  267 1079  0  0 100  0  0
 0  0     32  81888  84828 1073696    0    0     0    55  264 1029  0  0 100  0  0
 0  0     32  81888  84828 1073696    0    0     0    64  267 1039  0  1 99  0  0
 0  0     32  81888  84828 1073696    0    0     0     9  267 1153  0  0 100  0  0
 0  0     32  82004  84828 1073696    0    0     0    58  280 1282  0  0 99  0  0
 1  0     32  81444  84828 1073696    0    0     0    39  266 1203  1  0 99  0  0
 0  0     32  81484  84828 1073696    0    0     0   122  268 1200  0  0 100  0  0
 1  0     32  81484  84828 1073696    0    0     0     7  263 1145  0  0 100  0  0
 0  0     32  81748  84828 1073696    0    0     0   350  273 1240  1  0 98  0  0

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

paging space & monitor

Hi folks, Lately my RS 6000 server is giving some problems. Needs a reboot from time to time (4-8 days):mad: Specs: IBM/RS6000 Unix 4.3 3 gigabyte memory I keep getting messages like : " The fork function failed " I have raised the paging space from 1 gigabyte to 3 gigabyte,... (2 Replies)
Discussion started by: Erik Rooijmans
2 Replies

2. AIX

swap space / paging space

how do you get the paging space reduced without rebooting the machine ? the os is aix (2 Replies)
Discussion started by: aaronh
2 Replies

3. UNIX for Dummies Questions & Answers

Tool to monitor user activity

Hello, Does any one knows any tools or method to monitor users all activities on Solaris 8, including command and its result. Similar to 'script' ??? Thanks nana (3 Replies)
Discussion started by: nana
3 Replies

4. UNIX for Advanced & Expert Users

Swap vrs Paging

Can anyone explain the difference between Paging and Swap in unix. I know over the years that the term has almost become interchangable. However I have noticed in VMSTAT for a Solaris system that I am investigating that there is significant Paging but no Swapping and hence I am wondering do I... (2 Replies)
Discussion started by: jimthompson
2 Replies

5. Shell Programming and Scripting

How to monitor system activity while executing tests

I need to monitor system activity (RAM, CPU usage, execution time) while running some tests on solaris, linux and aix and save the output. Please advise whether there's a utility available for these systems? How can time the execution of the command? Thanks! (2 Replies)
Discussion started by: smovla
2 Replies

6. UNIX for Dummies Questions & Answers

Commands to monitor other user's activity

What commands would you recommend in order to monitor things like when a user logs on to a server, assuming you know that user's name on the server? (2 Replies)
Discussion started by: Sotau
2 Replies

7. AIX

LV without Paging Space

Hello dear friends, We have VG filevg which consists of 2 PVs when I rechecked the VG there is no Pagingspace LV.. The VG is usually Highly loaded because much reads and writes.. Is this a must to create Paging space on the specified LV? (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies

8. AIX

Paging space

Hi, I have paging size 2048M showed from topas and 10240M showed from "lsps -a", can anyone tell what is the difference? and how to change the PAGING SIZE (showed in topas) to 8192M? Can you please tell in detail step? Thanks! Victor #topas Topas Monitor for host: egsprc01dev ... (10 Replies)
Discussion started by: victorcheung
10 Replies

9. Shell Programming and Scripting

Homemade activity monitor-ish

Hello - I didn't find this with search, but I'm guessing it's out there somewhere. Apologies for reposting if that's the case. I'm shell scripting on a 10.5.8 Mac. I want to make a program that runs in the background and periodically logs computer use, storing things like - cpu usage,... (2 Replies)
Discussion started by: Qroid
2 Replies

10. UNIX for Dummies Questions & Answers

vmstat and paging ... how to interpret and get currently swap space size

Hi, OS = Solaris 5.10 I need some guidance on interpreting vmstat to confirm whether my server is swapping or not. Can anyone please advise whether the column to check on the vmstat output is the pi column, does higher pi values means the server is swapping or am having swapping issues? ... (1 Reply)
Discussion started by: newbie_01
1 Replies
envconfig(8)						      System Manager's Manual						      envconfig(8)

NAME
envconfig - Configures the Environmental Monitoring daemon SYNOPSIS
/usr/sbin/envconfig -c var=value /usr/sbin/envconfig start | stop /usr/sbin/envconfig -q OPTIONS
Environmental Monitoring provides a means of detecting system threshold conditions, that if exceeded, could result in a loss of data or damage to the system itself. To detect and notify users of critical conditions, the envmond daemon is used. This utility, envconfig, is used to customize the envmond daemon. This section describes the envconfig options you can use to configure the daemon. Sets the vari- ables that specify how the system environment is monitored. These variables are stored in the /etc/rc.config file and are read by the envmond daemon at system start-up. If a variable is not set, the default value of that variable is assumed. Specifies the state of Envi- ronmental Monitoring. If this variable is set to zero (0), the Environmental Monitoring package is not started during the system boot. If this variable is set to 1, and Environmental Monitoring is supported by that platform, it is started during the system boot. The default value is zero (0). Specifies the time (in minutes) that can elapse between the detection of a high temperature condition and the shutdown of the system. The default value is 15 minutes. Specifies the threshold level that can be encountered before the envmond daemon broad- casts a warning and suggested action. Specifies the frequency (in seconds) between queries of the system by the envmond daemon. The default value is 60 seconds. Specifies the path of a user-defined script that you want to the envmond daemon to execute when a high threshold level is encountered. The envmond daemon continues to check the environment after the script has executed and proceeds as needed should the high threshold levels persist. If you set this variable, the envmond daemon directs output from the script to /dev/console. Output is not displayed on standard output or written to a file as this is not the behavior of the daemon. To display on standard output, explicitly specify the logger command within the user defined script. Turns the envmond daemon on or off after system startup. Displays the values of ENVMON_CONFIGURED, ENVMON_GRACE_PERIOD, ENVMON_HIGH_THRESH, ENVMON_MONITOR_PERIOD and ENVMON_USER_SCRIPT as specified in the /etc/rc.config file. If a specified entry is not found, the environmental variable is not displayed. DESCRIPTION
The envconfig utility is used to customize the envmond daemon. You must have root privileges to use this utility. Using this utility, you can: Specify whether or not Environmental Monitoring is turned on or off at system startup. Specify how much time can elapse between the envmond daemon encountering a critical condition and the daemon initiating an orderly shutdown of the system. Specify how frequently the envmond daemon queries the system for information. Start and stop the envmond after Environmental Monitoring has been turned on at system startup. Display the settings of the environment variables as specified in the /etc/rc.config file. Note that the feature that you want to monitor must be supported on a given platform. For example, the AlphaServer 8400/GS140 supports reporting of power supply and fan status, the current system temperature, and the maximum allowed system temperature. EXAMPLES
The following procedure describes how you test for and start the environmental monitoring subsystem In multiuser mode, check the status of the environmental monitoring subsystem as follows: # /sbin/sysconfig -q envmon envmon: env_current_temp = 35 env_high_temp_thresh = 40 env_fan_status = 0 env_ps_status = 0 env_supported = 1 If the value of env_supported is 0, configure the envmond daemon and reboot the system using either of the following methods: At the com- mand prompt, enter the following command: # /usr/sbin/envconfig -c ENVMON_CONFIGURED=1 Use the rcmgr command as follows: # rcmgr set ENVMON_CONFIGURED 1 This command will enable the envmond daemon and export the variable, creating the following two lines in the /etc/rc.configfile: ENVMON_CONFIGURED="1" export ENVMON_CONFIGURED You can use the /sbin/sysconfig command to view the system environment at any time. The envmond daemon will the print warning messages in the event of a power supply failure, abnormality, or high temperatures. Error logs are logged in the /var/adm/binary.errlog. In the following example, the system shuts down in 10 minutes if the temperature does not fall below the critical threshold. /usr/sbin/envconfig -c ENVMON_GRACE_PERIOD=10 FILES
Databases that contains the values of the environment monitoring variables. Note that you must use the rcmgr comand to update the rc.con- fig* files, particularly on clustered systems. SEE ALSO
Commands: envmond(8) envconfig(8)
All times are GMT -4. The time now is 06:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy