Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support Root user is showing in ps -ef Post 302412317 by sureshbabuc on Monday 12th of April 2010 08:28:37 AM
Old 04-12-2010
Ok.that is the case ,how to check the running process is orphan or not.I am not finding any clue regarding this.
Thanks for your help.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Other than root user .Normal user is unable to create files

Hi all, I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies

2. Shell Programming and Scripting

root user command in shell script execute as normal user

Hi All I have written one shell script for GPRS route add is given below named GPRSRouteSet.sh URL="www.google.com" VBURL="10.5.2.211" echo "Setting route for $URL for GPRS" URL_Address=`nslookup $URL|grep Address:|grep -v "#"|awk -F " " '{print $2}'|head -1` echo "Executing ... (3 Replies)
Discussion started by: mnmonu
3 Replies

3. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

4. Solaris

java version mismatch for normal user and root user

:confused: I installed latest version of java ( jre 1.6) on Solaris Machine ......when I run java -version as root, shows the latest version but when I run java -version as normal user, shows the old / previous version What should I do to fix this ...should show the latest version... (3 Replies)
Discussion started by: frintocf
3 Replies

5. Shell Programming and Scripting

user attributes not showing when I run the script

I am new to linux/unix scripting and working in one company on linux project. I got a script that when it executes should give us the users atributes showing who is retriving data? the script should show us who are the users reriving information. I ran that script as sudo ./test4 but finding the... (0 Replies)
Discussion started by: starter2011
0 Replies

6. UNIX for Dummies Questions & Answers

Sudo to delegate permission from non-root user to another non-root user

I've been through many threads before i decide to create a separate thread. I can't really find the solution to my (simple) problem. Here's what I'm trying to achieve: As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user. The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies

7. Shell Programming and Scripting

How to Login as another user through Shell script from current user[Not Root]

Hi Every body, I would need a shell script program to login as different user and perform some copy commands in the script. example: Supppose ora_toms is the active user ora_toms should be able to run a script where user: ftptomsp pass: XXX should login through and run the commands ... (9 Replies)
Discussion started by: ujjwal27
9 Replies

8. UNIX for Advanced & Expert Users

Root and non-root user not able to delete the file

Hi!! one strange problem occurred with my RHEL 5 box. i'm having logs folder with ownership of non-root user. Created some files with root user under logs folder. here is the scene: -rw-r----- 1 root root 1048227 Feb 28 12:34 SystemOut_13.02.28_12.34.10.log -rw-r----- 1 root root ... (6 Replies)
Discussion started by: sukhdip
6 Replies

9. Shell Programming and Scripting

How to give root access to non root user?

Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal. I want to give some users a root level access. Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way Regards ADI (4 Replies)
Discussion started by: adisky123
4 Replies

10. UNIX for Dummies Questions & Answers

Switching from root to normal user takes me to user's home dir

Whenever i switch from root to another user, by doing su - user, it takes me to home directory of user. This is very annoying as i want to be in same dir to run different commands as root sometimes and sometimes as normal user. How to fix this? (1 Reply)
Discussion started by: syncmaster
1 Replies
ctstat(1)                                                          User Commands                                                         ctstat(1)

NAME
ctstat - display active system contracts SYNOPSIS
/usr/bin/ctstat [-a] [-i contractid...] [-t type...] [-v] [interval [count]] DESCRIPTION
The ctstat utility allows a user to observe the contracts active on a system. Unless you specify the -i or -t option, ctstat displays statistics on all contracts in the system. OPTIONS
The following options are supported: -a Display all contracts regardless of state. By default, this option only displays those contracts which are in the owned, inherited, or orphan states. -i contractid... Request status on the specified contracts, identified by their numeric contract identifier (contract_id). This option accepts lists as arguments . Items in the list can be separated by commas, or enclosed in quotes and separated by commas or spaces. -t type... Request status on contracts of the specified type (type). This option accepts lists as arguments. Items in the list can be separated by commas, or enclosed in quotes and separated by commas or spaces. The following types are supported: process Process contracts -v Verbose output. OPERANDS
The following operands are supported: interval Report once each interval seconds. count Print only count reports. OUTPUT
The following list defines the column headings and the meanings of a ctstat report: CTID The contract ID of the contract. ZONEID The zone ID of the contract's creator. TYPE The contract type. STATE The state of the contract: owned Contract is owned by a process. inherited The contract owner has exited abnormally and the contract has been inherited by the owner's process contract. orphan The contract owner has abandoned the contract, the contract owner exited abnormally and the contract was not inherited by the owner's process contract, or the process contract which had inherited the con- tract was abandoned by its owner. dead The contract is no longer active. It is removed from the system automatically when all references to it (open file descriptors, contract templates, and events) have been released. HOLDER If the contract is in the owned state, the pid of the process that owns the contract. If the contract is in the inherited state, the id of the regent process contract. EVENTS The number of unacknowledged critical events pending. QTIME The time until quantum ends, or - if no negotiation is in progress. NTIME The time until negotiation ends, or - if no negotiation is in progress. EXAMPLES
Example 1: Reporting on all Contracts in the System The following example reports on all contracts in the system: example% ctstat -a CTID TYPE STATE HOLDER EVENTS QTIME NTIME 1 process owned 100579 0 - - 2 process dead - 1 - - 3 process inherit 1 3 - - 4 process orphan - 0 - - Example 2: Obtaining a Verbose Report of All Contracts in the System The following example obtains a verbose report of all contracts in the system: example% ctstat -av CTID TYPE STATE HOLDER EVENTS QTIME NTIME 1 process owned 100579 0 - - informative event set: none critical event set: hwerr core fatal event set: hwerr parameter set: none member processes: 100600 100601 inherited ctids: none 2 process dead - 1 - - informative event set: none critical event set: none fatal event set: hwerr core parameter set: pgrponly member processes: none inherited ctids: none EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 An error occurred. 2 Invalid arguments. FILES
/system/contract/* ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |See below. | +-----------------------------+-----------------------------+ Human Readable Output is Unstable. Invocation is Evolving. SEE ALSO
ctrun(1), ctwatch(1), contract(4), process(4), attributes(5) SunOS 5.10 15 Jul 2004 ctstat(1)
All times are GMT -4. The time now is 12:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy