HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CPU load generated by lp
Operating System - HP-UX
1833707
Members
2465
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 01:44 AM
10-31-2002 01:44 AM
CPU load generated by lp
Hello,
I want to know how to obtain the CPU load generated by the printing for an HPUX server 9000 in 11.11. I need this statistics for one day or one week.
Claire
I want to know how to obtain the CPU load generated by the printing for an HPUX server 9000 in 11.11. I need this statistics for one day or one week.
Claire
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 02:01 AM
10-31-2002 02:01 AM
Re: CPU load generated by lp
Hi
Load is calculated so :-
The value used by top, xload, and other performance tools is a
one-minute load average. Every five seconds, the kernel walks the proc
table and counts how many runnable and imminently runnable processes
there are at that specific time. The load average is an average of the
last 12 totals.
The actual formula is statistical, so the kernel doesn't have to
remember each of the last 12 values. The formula is:
new average = [previous average * e^(-1/12)]
+ (new value * [1 - e^(-1/12)])
An option is to motitor the cpu time for things like lpshed and note start and end figures.
Paula
Load is calculated so :-
The value used by top, xload, and other performance tools is a
one-minute load average. Every five seconds, the kernel walks the proc
table and counts how many runnable and imminently runnable processes
there are at that specific time. The load average is an average of the
last 12 totals.
The actual formula is statistical, so the kernel doesn't have to
remember each of the last 12 values. The formula is:
new average = [previous average * e^(-1/12)]
+ (new value * [1 - e^(-1/12)])
An option is to motitor the cpu time for things like lpshed and note start and end figures.
Paula
If you can spell SysAdmin then you is one - anon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 02:14 AM
10-31-2002 02:14 AM
Re: CPU load generated by lp
Thanks for your an answer but how can I apply it?
Claire
Claire
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 03:15 AM
10-31-2002 03:15 AM
Re: CPU load generated by lp
Claire
To do this sort of calculation you will have to do several things:-
Collect load figures for the time period:-
uptime | awk '{print $10}' | sed 's/,//'
Will pull out the one min load figue.
At start time ps -ef and add the cpu usage colmumn
At each collection time ps -ef and sum the cpu column then remove the start cpu - this will give cpu usage during collection period.
From the start process list, and all concurrent process list extract the printing related processes and total their cpu usage.
So from this info we have:-
Load
Total cpu usage
Printing Cpu usage
Print Load = print cpu/total cpu * load.
HTH
Paula
To do this sort of calculation you will have to do several things:-
Collect load figures for the time period:-
uptime | awk '{print $10}' | sed 's/,//'
Will pull out the one min load figue.
At start time ps -ef and add the cpu usage colmumn
At each collection time ps -ef and sum the cpu column then remove the start cpu - this will give cpu usage during collection period.
From the start process list, and all concurrent process list extract the printing related processes and total their cpu usage.
So from this info we have:-
Load
Total cpu usage
Printing Cpu usage
Print Load = print cpu/total cpu * load.
HTH
Paula
If you can spell SysAdmin then you is one - anon
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP