- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Scheduler hpux
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
11-20-2003 03:25 AM
11-20-2003 03:25 AM
Scheduler hpux
Regards,
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 03:30 AM
11-20-2003 03:30 AM
Re: Scheduler hpux
Do you mean cron?
If so, try "crontab -e" and enter lines like
00 16 1 * * /usr/local/bin/mycommand
which would run mycommand on the first of each month and 16.00 hours.
THe fields are
MIN HOUR DAY MONTH DAYOFWEEK COMMAND
Where "*" means all
Hope that's what you are after.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 03:30 AM
11-20-2003 03:30 AM
Re: Scheduler hpux
-Tomek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 03:31 AM
11-20-2003 03:31 AM
Re: Scheduler hpux
If you mean used schedule for jobs, look at
cron
crontab
If you mean the Unix process scheduler, there is not much modification possible.
You can set time slice, for instance.
(You could in theory create a 'real time' OS by giving the sched proceess a low priority)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 03:52 AM
11-20-2003 03:52 AM
Re: Scheduler hpux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 04:16 AM
11-20-2003 04:16 AM
Re: Scheduler hpux
and receive signals. How i do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 07:38 AM
11-20-2003 07:38 AM
Re: Scheduler hpux
In a multi threaded application, threads could each create a process. Brief look at folowing man pages might get you started.
schedule ===> man cron
crontab
signals send to process ===> kill
rcve from process ==> $?
priorities ====> nice
renice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 08:34 AM
11-20-2003 08:34 AM
Re: Scheduler hpux
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=266437
Jose - I think I answered your questions in it. All processes started by users start with a default scheduling priority & increase as they wait for CPU time & decrease as they use it & on & on until they complete. You cannot conrol them unless you use the rtsched or rtprio commands. But *again* I will warn you to not do this UNLESS you know exactly what you're doing & the implications thereof.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 08:37 AM
11-20-2003 08:37 AM
Re: Scheduler hpux
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 01:01 PM
11-20-2003 01:01 PM
Re: Scheduler hpux
nice and renice adjust the nice value of normal timeshare processes. Via system calls a program can change its priority when created or during execution.
The rtprio command can create a process or adjust the priority of a proces in the range of 1-127
The rtsched can adjust or create a process with a priority of -32 to 0 and can schedule the program so it runs in a timeshare or FIFO mode.
Watch out creating processes with high priorities.
The other answers mentioned threads. They are correct that individual threads not processes have priorities now with HPUX 10.20 and above. With 11.0 individual threads can have different priorities too and the thread library has system calls to adjust their priority.
I hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 05:35 PM
11-20-2003 05:35 PM