Sponsored Content
Top Forums Shell Programming and Scripting Need iplanet process health runtime details Post 303012943 by mohtashims on Monday 12th of February 2018 04:49:12 PM
Old 02-12-2018
Hammer & Screwdriver Need iplanet process health runtime details

Hi,

I have iPlanet 7.0 process running on Solaris system
SunOS mymac15.10 Generic_150400-59 sun4v sparc sun4v
.

The link here suggests to use the below command to get process runtime details / health inorder to understand if the iPlanet process is hung or good.

Code:
/usr/bin/ps -o "pid ppid cmd args" | grep webservd | grep -v admin-server

However, i do not have this ps version tool and my command fails with the below error:

Code:
ps: unknown output format: -o cmd

usage: ps [ -aAdeflcjLPyZ ] [ -o format ] [ -t termlist ]

        [ -u userlist ] [ -U userlist ] [ -G grouplist ]

        [ -p proclist ] [ -g pgrplist ] [ -s sidlist ] [ -z zonelist ]

  'format' is one or more of:

        user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid ctid

        pri opri pcpu pmem vsz rss osz nice class time etime stime zone zoneid

        f s c lwp nlwp psr tty addr wchan fname comm args projid project pset

Can you please suggest what would be a good command which will help me collect all the process related etails so i know if the iPlanet process was hung or good ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Iplanet Error

I have iplanet6.0 sp1 installed on a Sunfire 280r which is running Solaris 8. On boot up I get the following message 'Failed to create psetHandle for cn=' the error code is 2. Iplanet appears to function as normal but can anyone enlighten me as to what this means. many thanks (2 Replies)
Discussion started by: silvaman
2 Replies

2. Shell Programming and Scripting

need help to write script to check the process health and automatically restart it

I am working on a project, which need to constantly watch the process, and check its status, if it was dead, it should be restart automatically. Please kindly refer me to URL which teach how to write this kind of script, or service. Thanks. (1 Reply)
Discussion started by: dragondad
1 Replies

3. UNIX for Dummies Questions & Answers

How to find the details of the previously running process with PID

OS: Unix or Linux I (only) know the pid of the process which was running earlier (say 5 hrs back) but it is not running now. Is there a way I could find the details of that process? (atleast the name of the process). Please let me know. (2 Replies)
Discussion started by: vijay.d
2 Replies

4. Solaris

Information about iplanet

Can anyone explains me the usage of iplanet daemon. Also , pls let me know the difference between a process and a daemon (1 Reply)
Discussion started by: rogerben
1 Replies

5. UNIX for Dummies Questions & Answers

at -l doesnt give details of the scheduled job. How to get the details?

I have scheduled couple of shell scripts to run using 'at' command. The o/p of at -l is: $ at -l 1320904800.a Thu Nov 10 01:00:00 2011 1320894000.a Wed Nov 9 22:00:00 2011 1320876000.a Wed Nov 9 17:00:00 2011 $ uname -a SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies

6. UNIX for Advanced & Expert Users

iplanet DS problem..

Hey Guys, Does anyone have experience with iplanet directory server? I am trying to do a ds_db2ldif (ldap dump) so I can import it into DSEE however it is failing, and giving NMC_Status: 7.. problem is iplanet is deprecated and has very little online support. Suggestions? Is there a better way to... (2 Replies)
Discussion started by: s ladd
2 Replies

7. Solaris

Process holding /tmp space, need to know the process details

Hi , In a server /tmp has almost reached 75% and i can see the File system utilization is 48Mb only , so i believe some process is using the /tmp space. I would like to know which process is using /tmp space. # df -h /tmp Filesystem size used avail capacity Mounted on swap ... (9 Replies)
Discussion started by: chidori
9 Replies

8. AIX

Need to get process details

Hello, Below are the list of files ls -lrt total 16 lr-x------ 43 oracle dba 0 Dec 5 14:27 root -> / lr-x------ 2 oracle dba 0 Dec 16 00:14 cwd -> /prodoragridcn_01/app/oracle/product/11203/dbs/ -r--r--r-- 1 oracle dba 0 Dec 16... (4 Replies)
Discussion started by: Vishal_dba
4 Replies

9. Shell Programming and Scripting

Need generic command to get complete running process details

I am on SunOS and Linux I need generic command to get complete process details from which i will eventually extract socket details (listen address and port) ps -ef | ggrep -i server | ggrep -i mydomaindoes not yield a process that should have both the grep entries along with the listen... (8 Replies)
Discussion started by: mohtashims
8 Replies

10. UNIX for Beginners Questions & Answers

Top 5 cpu and Mem consuming process and files and suggestion for health check

I am middle of writing health check scripts, can you pls share commands on how I can get cpu and Mem of top consuming process info at the moment? Also can u suggest ideas on what all I can look for as a part do health check on red hat Linux server? I searched on site before posting, but... (2 Replies)
Discussion started by: Varja
2 Replies
SAM_STOP(3)					    Corosync Cluster Engine Programmer's Manual 				       SAM_STOP(3)

NAME
sam_stop - Stop health checking SYNOPSIS
#include <corosync/sam.h> cs_error_t sam_stop (void); DESCRIPTION
The sam_stop function is used to stop health checking of an active process. After calling this function, the application no longer should send helathchecks. In the case of event driven healthchecking, the healthchecking thread will be stopped. A process can always start health checking again by calling sam_start(3) function. RETURN VALUE
This call return CS_OK value if successful, otherwise and error is returned. ERRORS
CS_ERR_BAD_HANDLE health checking was not started by calling sam_start(3) function. SEE ALSO
sam_start(3) CS_ERR_TRY_AGAIN Resource temporarily unavailable CS_ERR_INVALID_PARAM Invalid argument CS_ERR_ACCESS Permission denied CS_ERR_LIBRARY The connection failed CS_ERR_INTERRUPT System call inturrupted by a signal CS_ERR_NOT_SUPPORTED The requested protocol/functuality not supported CS_ERR_MESSAGE_ERROR Incorrect auth message received CS_ERR_NO_MEMORY Not enough memory to completed the requested task corosync Man Page 12/01/2009 SAM_STOP(3)
All times are GMT -4. The time now is 06:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy