- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX 11.0 CPU
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
12-09-2005 12:46 AM
12-09-2005 12:46 AM
HP-UX 11.0 CPU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 01:02 AM
12-09-2005 01:02 AM
Re: HP-UX 11.0 CPU
Under HPUX 11.00 this is only possible with PRM (not for free)
Under hpux 11i, you can do this with PSET
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PSETS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 01:03 AM
12-09-2005 01:03 AM
Re: HP-UX 11.0 CPU
set_cpu PID CPU-ID
Still looking for the source... (compiled hpux11.11 but just tested on 11.00 and it works...)
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 01:34 AM
12-09-2005 01:34 AM
Re: HP-UX 11.0 CPU
Victor CPU_ID it that the number displayed in 'top'?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 01:46 AM
12-09-2005 01:46 AM
Re: HP-UX 11.0 CPU
Still looking for the source code, I wonder if it were not procura the author...
e.g.
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.00 0.0% 0.0% 0.2% 99.8% 0.0% 0.0% 0.0% 0.0%
1 0.02 0.2% 0.0% 0.2% 99.6% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.01 0.0% 0.0% 0.2% 99.8% 0.0% 0.0% 0.0% 0.0%
Memory: 144296K (91020K) real, 151728K (105580K) virtual, 1046840K free Page# 1/8
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
1 ? 3376 patrol 154 30 48064K 44356K sleep 5416:45 2.45 2.45 PatrolAgent
$ /sm/bin/set_cpu 3376 0
Fri Dec 9 15:45:24 2005
Load averages: 0.03, 0.03, 0.04
127 processes: 124 sleeping, 3 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.00 0.0% 1.8% 0.6% 97.6% 0.0% 0.0% 0.0% 0.0%
1 0.05 0.0% 0.0% 0.2% 99.8% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.03 0.0% 0.8% 0.4% 98.8% 0.0% 0.0% 0.0% 0.0%
Memory: 144296K (92756K) real, 151728K (107836K) virtual, 1046840K free Page# 1/8
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 3376 patrol 154 30 48064K 44356K sleep 5416:50 4.80 4.79 PatrolAgent
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 01:50 AM
12-09-2005 01:50 AM
Re: HP-UX 11.0 CPU
The output you just saw in my previous reply comes from a K360 - it is the only multiprocessor box I have running HPUX11.00, the program was compiled on a RP5450 with HPUX11.11...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 01:58 AM
12-09-2005 01:58 AM
Re: HP-UX 11.0 CPU
main(c,v)
int c;
char **v;
{
mpctl( MPC_SETPROCESS,atoi(v[1]),atoi(v[2]));
}
./a.out