Sponsored Content
Full Discussion: CPU Usage
Operating Systems HP-UX CPU Usage Post 302662017 by vbe on Tuesday 26th of June 2012 04:32:57 AM
Old 06-26-2012
About your swap configuration:
Code:
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev       16384       0   16384    0%       0       -    1  /dev/vg00/lvol2
dev       30016       0   30016    0%       0       -    1  /dev/vg00/secswap

Since we dont know what external storage you use (if its the case...), I will figure out that your swap devices were not dreated at the same time and are here to correct memory access trouble of the beginning.
What will happen if you were to use the swap now? It will take the biggest first...
The impact? Your biggest is huge with only one access (unless its a multidisk striped device...) and two devices on the same root disks is not a good idea...
About CPU, Methyl and I have same way of seeing things: Not knowing what is running at what moment and for how long, you CANNOT diagnose what you have as an issue, Im tempted to say your thresholds are badly set...
I never had any serious trouble with the HP servers I managed at the time for I knew what was running on them and could ( and NOT a software ) see just by leaving glance running and looking time to time if things where normal or not... some strong calculations of stats can take 100%CPU during days (Yes! days...) a RDBMS transaction lasting hours is very suspicious but only the DBA can tell if normal or not
One classical issue figure is the box that "freezes" periodically with 100% CPU and I/O...
 

10 More Discussions You Might Find Interesting

1. Programming

Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries through a c program or java program i want to store that data into database so i can show it graphically thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies

2. Programming

CPU usage and memory usage

Please tell me solaris functions/api for getting following information 1- Function that tells how much memory used by current process 2- Function that tells how much memory used by all running processes 3- Function that tells how much CPU is used by current process 4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

3. UNIX for Advanced & Expert Users

Cpu Usage

System FreeBSD. Issue: I see that system idle = 0% in the same time top and other commands show that all process eat 0% of cpu. System calls 98% CPU states: 7.9% user, 0.0% nice, 91.8% system,<==!!! But top does not show any process which eats more than 0% Question: how can I see... (0 Replies)
Discussion started by: mirusnet
0 Replies

4. Programming

Cpu usage

Hi all, When I have a below while loop in my code (This observation is same for C and Perl) i= 0; while(1) { i++; } for above the CPU uses goes beyond 49% on hp-ux machine, why cpu usage increase at this level for just a simple while loop? and if I have a single print statement... (2 Replies)
Discussion started by: zing_foru
2 Replies

5. 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

6. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

Hi, I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP. I want the oids for above tasks. can you please tell me that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

7. Solaris

Multi CPU Solaris system shows 100% CPU usage.

Hello Friends, On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization. ========================================================================= $ prstat -a ... (4 Replies)
Discussion started by: mahive
4 Replies

8. 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

9. Programming

CPU usage

Hi all, I'm using python and psutil a library to get system informations like cpu usage (percent) for a given process. My question is if I have the value in % of the cpu usage how I could get the cpu usage in cycle number I mean not in percent? Thanks a lot D. (5 Replies)
Discussion started by: Dedalus
5 Replies

10. AIX

Overall CPU Usage

Hi Guys, I am a newbie on the forum. This is my first post, so first of all I would like to introduce myself. I am a SAS Analyst programmer working for an Health Insurance client. SAS is installed on a 16 CPU AIX Server with partitions running with shared processor. I have couple of... (2 Replies)
Discussion started by: saurabhiim2003
2 Replies
SWAPON(8)						      System Manager's Manual							 SWAPON(8)

NAME
swapon - specify additional device for paging and swapping SYNOPSIS
swapon -a swapon name ... DESCRIPTION
Swapon is used to specify additional devices on which paging and swapping are to take place. The system begins by swapping and paging on only a single device so that only one disk is required at bootstrap time. Calls to swapon normally occur in the system multi-user initial- ization file /etc/rc making all swap devices available, so that the paging and swapping activity is interleaved across several devices. Normally, the -a argument is given, causing all devices marked as ``sw'' swap devices in /etc/fstab to be made available. The second form gives individual block devices as given in the system swap configuration table. The call makes only this space available to the system for swap allocation. SEE ALSO
swapon(2), init(8) FILES
/dev/[ru][pk]?b normal paging devices BUGS
There is no way to stop paging and swapping on a device. It is therefore not possible to make use of devices which may be dismounted dur- ing system operation. swapon is not implemented in 2.11BSD. 4th Berkeley Distribution November 17, 1996 SWAPON(8)
All times are GMT -4. The time now is 02:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy