- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sar ( pswch/s )
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
03-23-2005 05:20 AM
03-23-2005 05:20 AM
Hello All,
Just trying to find an explaination that I can understand clearly related to SAR's "pswch/s"
reference. I received a call from the users
indicating around 13:30 system was slow for a period of time. When I executed SAR to help gather information I noticed the "pswch/s" was
higher at that perion of time. The man page explaination is not clear to me. Can someone help me understand what could cause this, and
is there a kernel parm that needs to be changed?
******************************************
( sar -w ) : SYSTEM SWAPPING & SWITCHING ACTIVITY
Analysis :
swpin/s Number of process swapins per second;
swpot/s Number of process swapouts per second;
bswin/s Number of 512-byte units transferred for
swapins per second;
bswot/s Number of 512-byte units transferred for
swapouts per second;
pswch/s Number of process context switches per second.
HP-UX hohp118 B.11.11 U 9000/800 03/22/05
11:00:00 swpin/s bswin/s swpot/s bswot/s pswch/s
11:20:00 0.00 0.0 0.00 0.0 762
11:40:00 0.00 0.0 0.00 0.0 749
12:00:00 0.00 0.0 0.00 0.0 761
12:20:00 0.00 0.0 0.00 0.0 732
12:40:00 0.00 0.0 0.00 0.0 729
13:00:00 0.00 0.0 0.00 0.0 733
13:20:00 0.00 0.0 0.00 0.0 787
13:40:00 0.00 0.0 0.00 0.0 4214
14:00:00 0.00 0.0 0.00 0.0 781
14:20:00 0.00 0.0 0.00 0.0 791
14:40:00 0.00 0.0 0.00 0.0 773
15:00:00 0.00 0.0 0.00 0.0 782
15:20:00 0.00 0.0 0.00 0.0 758
15:40:00 0.00 0.0 0.00 0.0 738
16:00:00 0.00 0.0 0.00 0.0 765
Average 0.00 0.0 0.00 0.0 990
********************************************
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2005 05:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2005 01:55 PM
03-23-2005 01:55 PM
Re: sar ( pswch/s )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2005 01:50 AM
03-24-2005 01:50 AM
Re: sar ( pswch/s )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2005 02:08 AM
03-24-2005 02:08 AM
Re: sar ( pswch/s )
For example, one could create two processes and pass a token back (typically a single byte sent via a pipe) and forth between them. Process A would block on reading the token. Process B writes the token and blocks waiting for it to be returned. Processes A and B could then trigger very high context switch rates each blocking while the other performs its task.
Again, there are not enough data to answer your question. Sar is a pretty poor performance analysis tool but its better than a sharp stick. You will get much more meaningful data with a tool like Glance. You can install the 60-day trial version from any Applications CD set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2005 03:12 AM
03-24-2005 03:12 AM
Re: sar ( pswch/s )
timeslice 10 - (100/10)