11-28-2009
Logged in as root
# \who -mR
root pts/tc Nov 27 22:04 (1IMAGE)
Logged in as user
$ \who
awrpt pts/ta Nov 17 11:05
awrpt pts/tb Nov 17 11:05
dw pts/tc Nov 28 01:13
$ \who -m
$ \who -mR
10 More Discussions You Might Find Interesting
1. Solaris
How can I use the 'ps' command to view current sessions but only for a given process/user, with the -u parm?
In older versions of Unix, this used to work, but not in Sun Solaris.
Thanks (4 Replies)
Discussion started by: ElCaito
4 Replies
2. UNIX for Dummies Questions & Answers
:confused: In the following, when I enter a valid, existing directory,why am I getting Not Found when the Dir DOES exist?
read auser
echo "You entered $auser"
wait 2
cd /home
if
then
echo "Dir Exists"
sleep 2
else
echo "/home/$auser Not Found"
sleep... (2 Replies)
Discussion started by: rgouette
2 Replies
3. UNIX for Advanced & Expert Users
There r 2 servers. Lets call them S1 and S2..
S1 is OSF1 and S2 is SunOS..
One directory of S2 is mounted on S1. say abc/xyz
There is one application which continuously put xml files in that directory (on S2).
If we give command “ls -lrt” on S2 it gives proper output.. (i.e. gives list... (1 Reply)
Discussion started by: asmita
1 Replies
4. Shell Programming and Scripting
Hi all,
I would like to replace some string in a text file by some string which would contains special characters like "/","\".
I.e. I have a text file with the statement contactperson somewhere in it.
Now I want to replace it by something else which includes special
characters like "/","\"
... (1 Reply)
Discussion started by: shareef
1 Replies
5. Shell Programming and Scripting
Hi,
I am trying to list all the files created / modified today in a directory.
With reference to this thread,
https://www.unix.com/shell-programming-scripting/20324-capture-all-today-files.html
I have used the below command to list all the files modified today.
find . -daystart -type f... (8 Replies)
Discussion started by: arunkumarmc
8 Replies
6. UNIX for Dummies Questions & Answers
Hi There,
---------
file1
-------
~c asd@ac.com
--------------
Now i am using below command
cat file1|mailx -s " testing" -r " My Name" abc@tech.com (3 Replies)
Discussion started by: Tapan Sharma
3 Replies
7. Shell Programming and Scripting
Hi,
I am trying to find out patterns in file 1 using patterns stored in file 2. Following is the code
FILE1=inputfilename
FILE2=blacklist
blacklist
1203
97715555
20afEOF
egrep -f $FILE2 $FILE1
but the above code is not working either using egrep or grep. Just for your... (10 Replies)
Discussion started by: siramitsharma
10 Replies
8. Shell Programming and Scripting
In solaris, i m trying to find the files having a particulat extension and then from the list i want to exclude those files which is present in a file.
But it seems the -f and -v option are not working
find $source -type f -name $extn | /usr/xpg4/bin/grep -F -v -f $exclude | while read... (7 Replies)
Discussion started by: millan
7 Replies
9. AIX
Hi All,
I am using the following script to run some sql on database but i am not getting the result. When i tried the same by removing "-s" option it is working fine but getting other things as well with my input as shown below. Can anyone please suggest why "-s" option is not working in AIX and... (2 Replies)
Discussion started by: ssk250
2 Replies
10. Shell Programming and Scripting
Can you please figure out what is the issue here
$ find . -maxdepth 1 -type f -size 0 -print
find: bad option -maxdepth
please find the OS details
$ uname -a
HP-UX g5u1216 B.11.31 U ia64 2614088426 unlimited-user license
Use code tags, thanks. (6 Replies)
Discussion started by: TomG
6 Replies
LEARN ABOUT SUSE
fam.conf
FAM.CONF(5) SGI FAM.CONF(5)
NAME
fam.conf - The File Alteration Monitor (FAM) configuration file
SYNOPSIS
In addition to its command line options, famd's behavior can also be controlled through its configuration file. By default, this is
/etc/fam.conf. The -c command line option can be used to specify an alternate file.
FILE FORMAT
Configuration lines are in the format option=value. Lines beginning with # or ! are ignored. famd recognizes the following options:
insecure_compatibility If set to true, this disables authentication and reduces access security as described under SECURITY below. This
is false by default. Setting this option to true is the same as using the -C command line option.
untrusted_user This is the user name or UID of the user account which famd will use for unauthenticated clients. If a file
can't be stated by this user, famd will not tell unauthenticated clients about the file's existence. If an
untrusted user is not given in the configuration file, famd will write an error message to the system log and
terminate.
local_only If set to true, famd will ignore requests from remote famds. This is false by default. Setting this option to
true is the same as using the -L command line option. This option is ignored if famd is started by inetd.
idle_timeout This is the time in seconds that famd will wait before exiting after its last client disconnects. The default is
5 seconds. This option is overridden by the -T command line option.
nfs_polling_interval This is the interval in seconds between polling files over an NFS filesystem. The default is 6 seconds. This
option is overridden by the -t command line option.
xtab_verification If set to true, famd will check the list of exported filesystems when remote requests are received to verify that
the requests fall on filesystems which are exported to the requesting hosts. This is true by default. If this
option is set to false, famd will service remote requests without attempting to perform the verification. If the
local_only configuration option or -L command line option is used, xtab_verification has no effect.
detect_readonly_filesystems
If set to true, famd will try to detect read-only filesystems. Such filesystems are assumed to never change.
This is false by default. Setting this option to true is the same as using the -r command line option.
SEE ALSO
fam.conf (fam 2.6.10) January 19, 2003 FAM.CONF(5)