The details provided by the /proc filesystem (and even if it exists) varies widely from system to system. On systems where it is present, it reflects data found in the kernel's process table (which also varies considerably from system to system).
may provide information about how /proc is implemented on your system.
Unlike many "standard" utilities, the code needed to implement ps is not at all portable. On systems that don't support /proc, ps is frequently a set-UID root process that extracts data directly from the kernel's process table by reading /dev/kmem (another interface that is not available on all systems).
how can i use a rlogin with out entered a password,
someone tell me about configure the next files
/.rhosts
/etc/hosts.equiv and /etc/hosts
but i not sure about that, or there are not enough
could you tell me how to do that? (3 Replies)
Hi all,
could any of you please help me on my problem..
we are doing FTP (one report out put) from one server to another server through unix shell script program.
Due to the network issues, some times FTP process is hanging.
So we planned to modify the existing program with the following... (2 Replies)
Hi All,
My requirement is if the record is starting with 0, then do some processing.
if starting with 1, some processing
else (not with 0 or 1 ) then do some other processing.
i tried the following
case "$test" in
/^0/) echo "starting with zero ;;
/^1/) echo " with one" ;;
*) echo... (2 Replies)
Hi all, i'm quite new in the UNIX world. So maybe i'm going to ask simple questions but they are unsolvable for me...
I'm trying to implement the 'more' function or kinda of that, for improving my knowledges. But I encountered some problems that i hope u will help me to solve.
The code i... (0 Replies)
Unix is something new for me, I trying learn about it now.
I have download the sun virtualbox software and install solaris 10 into it. It is is like wizard with step by step installation guideline. :)
NOw how can i implement mirroring(RAID) into the my new SunOS? can anyone give a briefly list... (14 Replies)
I need to run a command n (n >= 100) times and the command running may take about 30 seconds. Can anyone help me with the shell script to achieve this? Thanks in advance. (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here in flwng code \n is not working
2. Relevant commands, code, scripts, algorithms:
Files: a.txt
This... (0 Replies)
I have been extracting a row, based on multiple key word from a xls/csv file, by using the following command. I have to implement the same for multiple xls/csv files, therefore please help me to do the same.
awk '
{ tbp=0
if ($0 ~ keyword1 && k1 == 0) { tbp=1; k1++ }
if ($0 ~ keyword2... (2 Replies)
Discussion started by: dineshkumarsrk
2 Replies
LEARN ABOUT OPENSOLARIS
lsns
LSNS(8) System Administration LSNS(8)NAME
lsns - list namespaces
SYNOPSIS
lsns [options] [namespace]
DESCRIPTION
lsns lists information about all the currently accessible namespaces or about the given namespace. The namespace identifier is an inode
number.
The default output is subject to change. So whenever possible, you should avoid using default outputs in your scripts. Always explicitly
define expected columns by using the --output option together with a columns list in environments where a stable output is required.
Note that lsns reads information directly from the /proc filesystem and for non-root users it may return incomplete information. The cur-
rent /proc filesystem may be unshared and affected by a PID namespace (see unshare --mount-proc for more details). lsns is not able to see
persistent namespaces without processes where the namespace instance is held by a bind mount to /proc/pid/ns/type.
OPTIONS -J, --json
Use JSON output format.
-l, --list
Use list output format.
-n, --noheadings
Do not print a header line.
-o, --output list
Specify which output columns to print. Use --help to get a list of all supported columns.
The default list of columns may be extended if list is specified in the format +list (e.g. lsns -o +PATH).
-p, --task pid
Display only the namespaces held by the process with this pid.
-r, --raw
Use the raw output format.
-t, --type type
Display the specified type of namespaces only. The supported types are mnt, net, ipc, user, pid, uts and cgroup. This option may
be given more than once.
-u, --notruncate
Do not truncate text in columns.
-V, --version
Display version information and exit.
-h, --help
Display help text and exit.
AUTHORS
Karel Zak <kzak@redhat.com>
SEE ALSO nsenter(1), unshare(1), clone(2), namespaces(7)AVAILABILITY
The lsns command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux December 2015 LSNS(8)