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

What is difference between incremental backup and differential backup?

2 Answers  


What is nslookup

2 Answers  


To check the status of the media inseted on the tape drive

1 Answers  


What is environmental? How to add environmental variables in run level 3 & how to edit?

1 Answers   Wipro,


How to change the default new user shell without mentioning -s /bin/sh in cmd useradd or usermod and which file we need to change? this is not for existing user

4 Answers   Tech Mahindra,






what is differnce between boot -s and boot -S ?

3 Answers  


What are the configuration files in VxVm?

3 Answers   Thomson Reuters,


How many fields in passwd, shadow and group files

2 Answers  


I want to create a 30Gb of size in three different disks 10Gb,5Gb and 15Gb respectively in VxVm , how can we create it kindly explain step by step procedure.

4 Answers   ITC Infotech,


How to find the network card speed

3 Answers  


In solaris while patching why should we break the mirroring?

1 Answers   Wipro,


I have single NIC card and we have two ports can we configure as IPMP?

1 Answers   ITC Infotech,


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)