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 will you ad new aliases name

1 Answers  


What r the daemons for DNS , Veritas, Apache,NFS Server & Client 4How can u configure two DHCP and Two DNS servers r there and u have 100's of users then 1st system takes which DHCP server and which DNS sever 5 what is the use of NIS how can u configure 6 what is the use RAID and which is the best(Solaris) 7 in RAID 5 and RAID 0+1 which u will preffer (Veritas)

3 Answers   HCL, IBM, Tech Mahindra,


What is WWN on storage

2 Answers  


How to know actual capacity of Ethernet port by command line? (Sun Fire V480 and some one configured Eth interface as 100mbps and need to change to 1000mbps but How i would know that port is of capacity 1000mbps or not?

7 Answers   Softenger,


How to set passwd never expire for a user

4 Answers  






Were will be the configuration for metadevice

1 Answers  


How to do the disk cloning on solaris

1 Answers  


If you have multiple ethernet interfaces, how do you keep it from routing between them?

2 Answers  


How do you check the run level

2 Answers  


How to create NULL files of specific size in solaris ?

9 Answers   IBM,


Iam facing an issue like below, any help why this is caused? $ ls -l /etc total 184 -rw-r--r-- 1 root other 3 Nov 28 09:35 abc1 -rw-r--r-- 1 root other 3 Nov 28 09:35 cb -r--r--r-- 1 root root 8358 Nov 28 19:04 ptmp -r-------- 1 root sys 5055 Nov 28 19:04 stmp -r--r----- 1 root root 76828 Nov 28 09:38 sudoers

1 Answers  


How will compare 2 host patches

1 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)