HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nice and user state in top
Operating System - HP-UX
1833717
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-05-2006 12:12 PM
10-05-2006 12:12 PM
nice and user state in top
Hi there,
I have a Oracle export script, I found that if I run the script in shell prompt, the process will run in "USER" stat (shown from top command). However if I run it by cron schedule, it will run in "NICE" state and it takes more time to finish compare running in shell prompt. Any idea what is the different?
Thanks,
Simon
I have a Oracle export script, I found that if I run the script in shell prompt, the process will run in "USER" stat (shown from top command). However if I run it by cron schedule, it will run in "NICE" state and it takes more time to finish compare running in shell prompt. Any idea what is the different?
Thanks,
Simon
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 08:17 PM
10-05-2006 08:17 PM
Re: nice and user state in top
Simon,
I believe the nice state may be down to the cron daemon. What value is cron running at,
as
"Normally, all processes inherit the system nice value of their parent process when they are spawned." see "man nice"
However if something is run in background mode the nice value changes.
I believe the nice state may be down to the cron daemon. What value is cron running at,
as
"Normally, all processes inherit the system nice value of their parent process when they are spawned." see "man nice"
However if something is run in background mode the nice value changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 08:20 PM
10-05-2006 08:20 PM
Re: nice and user state in top
Peter, here is the ps output of the cron daemon.
1 S root 2759 1 0 154 20 5336d2c0 27 502c346e Sep 10 ? 0:04 /usr/sbin/cron
1 S root 2759 1 0 154 20 5336d2c0 27 502c346e Sep 10 ? 0:04 /usr/sbin/cron
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