- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: No response, why?
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
Discussions
Discussions
Forums
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
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
тАО07-18-2002 04:13 AM
тАО07-18-2002 04:13 AM
What jobs will appear by using this command?
Thank in advanced.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 04:19 AM
тАО07-18-2002 04:19 AM
SolutionMaybe no active jobs. From Man sh
jobs [-lnp] [job]...
List information about each given job, or all active jobs if job
is not specified. With -l, list process IDs in addition to the
normal information. With -n, display only jobs that have stopped
or exited since last notified. With -p, list only the process
group. See the "Jobs" subsection for a description of the format
of job.
Jobs
If the monitor option of the set command is turned on, an interactive
shell associates a job with each pipeline. It keeps a table of
current jobs, printed by the jobs command, and assigns them small
integer numbers. When a job is started asynchronously with &, the
shell prints a line that looks like:
[1] 1234
indicating that job number 1 was started asynchronously and had one
(top-level) process whose process ID was 1234.
If you are running a job and wish to do something else, you can type
the suspend character (the susp character defined with stty; see
stty(1)) to send a SIGSTOP signal to the current job. The shell then
indicates that the job has been Stopped, and prints another prompt.
Then you can manipulate the state of this job by putting it in the
background with the bg command, running other commands, and eventually
returning the job to the foreground with the fg command. A suspend
takes effect immediately and resembles an interrupt, since pending
output and unread input are discarded when the suspend is entered.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 04:19 AM
тАО07-18-2002 04:19 AM
Re: No response, why?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 04:21 AM
тАО07-18-2002 04:21 AM
Re: No response, why?
If nothing appears, then nothing is running in the session's background.
Try this:
# sleep 10&
# jobs
Now wait 10-seconds and do 'jobs' again. You will not see anything.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 04:35 AM
тАО07-18-2002 04:35 AM
Re: No response, why?
use the command "top" to get more information about the jobs on your system. The output has a header, which shows you the number of active processes, sleeping processes and of zombie processes. Processes are sorted by CPU consumption.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 10:24 AM
тАО07-18-2002 10:24 AM
Re: No response, why?
if your question is about *print* jobs then the command is "lpstat -t", else it is "ps -ef" (or even better "UNIX95=x ps -eHo pid,ppi,args").
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2002 04:32 PM
тАО07-19-2002 04:32 PM
Re: No response, why?
Could you tell me what's the detail difference about active processes, sleeping processes and zombie processes?
Thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2002 04:43 PM
тАО07-19-2002 04:43 PM
Re: No response, why?
Sleep is the state of process where process is waiting for a call etc.
Zombie is the one that is not responding even to kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2002 07:34 PM
тАО07-19-2002 07:34 PM
Re: No response, why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2002 08:41 PM
тАО07-19-2002 08:41 PM
Re: No response, why?
Manoj Srivastava