how to see particular job whether completed or not?

Answers were Sorted based on User's Feedback



how to see particular job whether completed or not?..

Answer / swapnil

To see particular job whether completed or not fire
following comand

ps -ef | grep (name of that process)

will give process ID start time of process also

Is This Answer Correct ?    2 Yes 0 No

how to see particular job whether completed or not?..

Answer / daaga

use command "jobs" without quotes. The o/p will be self
explanatory....

Is This Answer Correct ?    1 Yes 0 No

how to see particular job whether completed or not?..

Answer / arun

ps -ef | grep ( particular job)

Is This Answer Correct ?    0 Yes 0 No

how to see particular job whether completed or not?..

Answer / stratovarius

One way would checking the successful completion of a
command, check the exit status.
An exit status of zero indactes sucess,
An exit status or 1 or above indicates error.

example:
#cd /etc
#echo $?
0
#

This indicates the command change directory was a success.

#ps -ef | grep <process_name>
#pgrep -fl |grep <process_name>

Will show display details of the process/programs loaded..
such as the PID.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Solaris Commands Interview Questions

How to check the sleeping process in Solaris.

10 Answers   Chase, JPMorgan Chase,


How to bring the Disk into diskgroup on veritas.

3 Answers  


Disaster recovery steps if OS corrupted

3 Answers  


In an NIS environment if user forgot is password, then as an admin what you will do?

1 Answers   IBM,


Options in ufsrestore

1 Answers  






Options in ufsdump

1 Answers  


How to bring the resource to online and offline

2 Answers  


How to stop the process in Solaris?

9 Answers   GAS, Wipro,


What are the daemons in NIS server?

2 Answers   MoonUp, Wipro,


What are the service group dependence?

2 Answers  


You can receive e-mail, but when u try to send e-mail .. u can't send any. What is wrong?

4 Answers  


How to lock the user id in solaris?

4 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)