plabel(1) User Commands plabel(1)NAME
plabel - get the label of a process
SYNOPSIS
/usr/bin/plabel [-sS] [pid...]
DESCRIPTION
plabel, a proc tools command, gets the label of a process. If the pid is not specified, the label displayed is that of the plabel command.
When options are not specified, the output format of the label is displayed in default format.
OPTIONS -s Display the label that is associated with pid in short form.
-S Display the label that is associated with pid in long form.
EXIT STATUS
plabel exits with one of the following values:
0 Successful completion.
1 Unsuccessful completion because of a usage error.
2 Inability to translate label.
3 Inability to allocate memory.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWtsu |
+-----------------------------+-----------------------------+
|Interface Stability |See below. |
+-----------------------------+-----------------------------+
The plabel utility is Committed. The output is Not-an-Interface.
SEE ALSO proc(1), getplabel(3TSOL), attributes(5)NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.
SunOS 5.11 20 Jul 2007 plabel(1)
Check Out this Related Man Page
getzonepath(1) User Commands getzonepath(1)NAME
getzonepath - display root path of the zone corresponding to the specified label
SYNOPSIS
/usr/bin/getzonepath {sensitivity-label}
DESCRIPTION
getzonepath displays the root pathname of the running labeled zone that corresponds to the specified sensitivity label. The returned path-
name is relative to the caller's root pathname, and has the specified sensitivity label.
If the caller is in the global zone, the returned pathname is not traversable unless the caller's processes have the file_dac_search privi-
lege.
If the caller is in a labeled zone, the caller's label must dominate the specified label. Access to files under the returned pathname is
restricted to read-only operations.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWtsu |
+-----------------------------+-----------------------------+
|Stability |Committed |
+-----------------------------+-----------------------------+
DIAGNOSTICS
getzonepath exits with one of the following values:
0 Success
1 Usage error
2 Failure; error message is the system error number from getzonerootbylabel(3TSOL)SEE ALSO getzonerootbylabel(3TSOL), attributes(5)
Acquiring a Sensitivity Label in Solaris Trusted Extensions Developer's Guide
NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.
SunOS 5.11 20 Jul 2007 getzonepath(1)
Hello, everyone.
I was wondering if you could help me out with some question. I have a college final that deals with /proc/(pid#)/maps. The teacher is really horrible (we never went over this in class), and i dont find the man page helpful with specifics. Here are some of my questions on the... (0 Replies)
hi,
i hav a query abt reading the contents of /proc/pid/maps file.is there any system apis or functions available to get the data from dat file and parse according to my need. i need name of the .so,Create date of the .so file.,Location of .so file etc.
please provide a good source.
yes i hav... (3 Replies)
what is this nawk doing?
This is for solaris 10 with trusted extensions.
Level=$(plabel | nawk 'BEGIN {FS='\*"} {PRINT $2}' )
it is supposed to return UNCLASSIFIED or whatever the zone label is.
I understant $() execute this stuff, FS is field separator, print the 2nd field.
Can... (1 Reply)
Hi guys,
i need to write a shell script that will close file descriptors from /proc/pid/fd
will calling exec 4<&- solve the problem ?
thanks in advance :) (15 Replies)
Hi,
just a short question:
Is a error label always equal to a error identifier?
So it does not matter if i search for an specific identifier (errpt -j) or a specific label (errpt -J)?
Regards
Ron (5 Replies)
The monitoring tools what we have not able to see historical information about the process name or pid number for the process that consumed high CPU or memory or paging space. Can you please suggest some of the best monitoring tools available in the market that monitors primarily AIX and other Unix... (0 Replies)