11-09-2010
Maybe you have to look up the max and subtract . . . .
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
List using 'who -u' command shows logged out user name along with active users. 'kill -9' command fails to kill the user as there no prcess is running.
Any solution regarding this problem. (5 Replies)
Discussion started by: utpol_68
5 Replies
2. UNIX for Dummies Questions & Answers
Hello guys,
on my Red Hat machine the /bin/mt status command gives the output dev/tape: inappropriate ioctl for device. This messages comes up after the Server has been rebooted.
Anybody an idea?
Thx
masterofdesaster (8 Replies)
Discussion started by: masterofdesaste
8 Replies
3. Shell Programming and Scripting
HI,
When i use the top command in Linux I get the below values.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
What is the maximum MEM% that will occur. I got once 303% . Is it possible to get such a high value.
Regards,
Ahamed. (2 Replies)
Discussion started by: ahamed
2 Replies
4. Shell Programming and Scripting
Here is an interesting problem that I am seeing when using 'sed'. The goal
is to print out the names of the Oracle SID's on a system and here is the
command I am using:
ps -ef|grep ora|grep pmon|awk '{print $NF}'|sed 's/ora_pmon_//'
The output of the command after the awk is this:
... (3 Replies)
Discussion started by: soleil4716
3 Replies
5. Solaris
Hi
I need to export a directory named /sybase from my solaris machine via NFS. The svcs command shows the state as disabled. Please let me know how to export the directory.
Once the directory is exported from the solaris machine it has to be mounted locally in an aix machine. Can some one... (2 Replies)
Discussion started by: newtoaixos
2 Replies
6. Shell Programming and Scripting
Hi All,
I need to know the command for knowing the total cpu and mem.
Thanks (5 Replies)
Discussion started by: aish11
5 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to replace a string in a oracle LDT file file extension .ldt.
I am using the following command:
sed "s/Test Number Viewer/Test Number 1/g" TEST_LIEN_FORM.ldt > TEST_LIEN_FORM.ldt.tmp
mv TEST_LIEN_FORM.ldt.tmp TEST_LIEN_FORM.ldt
But after the command, the file... (2 Replies)
Discussion started by: veena484
2 Replies
8. Solaris
Hi,
When I run the free command on solaris, I get the following:
"Memory: 60G phys mem, 69G free mem"
Q: how cna the free mem be higher then the physical mem?:confused:
Amit (3 Replies)
Discussion started by: amitlib
3 Replies
9. Solaris
While getting the total disk space in solaris machine using df -k command, i am getting the same disk info for every user available in that system.
Is there any way to remove it.
Filesystem 1024-blocks Used Available Capacity Mounted on
rpool/ROOT/solaris 573898752... (3 Replies)
Discussion started by: prasankn
3 Replies
10. UNIX for Dummies Questions & Answers
I am working on ksh shell.
In some folders if i write
ls *MYFILE* > NEWFILE
then it shows error on few files as
<filename>/:NOT A DIRECTORY
i have around 9 thousand files in this folder and out of them around 61 are showing error.
However, when i created softlink of that directory and... (3 Replies)
Discussion started by: JYOTIHA
3 Replies
LEARN ABOUT PHP
fs_whichcell
FS_WHICHCELL(1) AFS Command Reference FS_WHICHCELL(1)
NAME
fs_whichcell - Returns the cell to which a file or directory belongs
SYNOPSIS
fs whichcell [-path <dir/file path>+] [-help]
fs whi [-p <dir/file path>+] [-h]
DESCRIPTION
The fs whichcell command returns the name of the cell in which the volume that houses each indicated directory or file resides.
To display the file server machine on which the volume housing a directory or file resides, use the fs whichcell command. To display the
cell membership of the local machine, use the fs wscell command.
OPTIONS
-path Idir/file path>+
Names each AFS file or directory for which to return the cell membership. Partial pathnames are interpreted relative to the current
working directory, which is also the default value if this argument is omitted.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The output includes a line for each directory or file, naming the cell to which the volume that houses the directory or file resides.
EXAMPLES
The following example shows that the current working directory resides in a volume in the ABC Corporation cell:
% fs whichcell
File . lives in cell 'abc.com'
PRIVILEGE REQUIRED
None
SEE ALSO
fs_wscell(1), fs_whereis(1)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FS_WHICHCELL(1)