04-22-2014
You could shorten this to a single-line find command, but can you (kppublicmail) answer the questions posed in responses. It will mean that you get more useful suggestions.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
1. Is there a way to count the number of bytes of a variable?
example:
abc@yahoo.com is 13 bytes
2. Cut command only allows one byte for delimiter
example: cut -f1 -d'.'
delimited by period. Is there a way to have two or more characters in the delimiter field?
thanks in adavance.
:) (4 Replies)
Discussion started by: hemangjani
4 Replies
2. Solaris
Hello Expert! :b:
Question for you guys, Can anyone tell me how to use terminal emulator on Windows XP to view Solaris config? I have no idea on Solaris and the only thing I could do is to boot it up. Honestly, I have given a tasked to delete all the files and some necessary memory information... (2 Replies)
Discussion started by: katsloko
2 Replies
3. Shell Programming and Scripting
In my server migration requirement, I need to compare if one file on old server is exactly the same as the corresponding file on the new server.
For diff and comm, the inputs need to be sorted. But I do not want to disturb the content of the file and need to find byte-to-byte match.
Please... (4 Replies)
Discussion started by: krishmaths
4 Replies
4. Solaris
Hi All,
I am working with the Solaris 9.
In df -h command / file system size is 9.6 GB , used 7.5 GB and avialble space is 2.1. OK
But in du -hd command it is showing some 4.1 GB only.
How to find out that remaining 3.4GB.
Can you please help me ...
Thanks and Regards, (1 Reply)
Discussion started by: lbreddy
1 Replies
5. Solaris
Hi,
In df -h root file system showing
(total size) (used) (free)
/dev/dsk/c0t0d0s0 11G 7.6G 2.8G 73% /
but du -hd command showng 5.1 gb used sapce.
I am missing 3.00 gb space.
Here I have to knoe where is Remaining space... (2 Replies)
Discussion started by: lbreddy
2 Replies
6. Solaris
Hi All,
This is Babu working as a system administrator.
Here I am getting one problem with one of my Sun server's root (/) file system.
In df -h command / file system showing 7.8 GB used space.But in du -hd command it showing 5.2 gb only.
Please can any one help me resolve this issue... (2 Replies)
Discussion started by: lbreddy
2 Replies
7. AIX
Hi Administrators,
I have one issue related to GPFS filesystem. We have bad entries in this file system, which reflects error like
ls: 0653-341 The file <filename> does not exist.
when we give "ls -ltr" on this directory.
So we taken the FS filesystem offline and followed the below steps.
... (6 Replies)
Discussion started by: gauravgarg
6 Replies
8. Shell Programming and Scripting
I have a C++ binary executable installed in a file system which is shared across multiple solaris boxes.
When I start this executable from one of the boxes,I am able to start only 4 parallel instances and from the 5th instance onwards I am getting the following error.
fatal: libdb2.so.1:... (2 Replies)
Discussion started by: prasperl
2 Replies
9. Red Hat
Hi gurus,
Need your help ,
Am facing some issue with one of the ext3 file system.while rebooting it failed to mount fs after running fsck i tried manuall but still no luck.However i made the machine up but am unable to mount file system can some one please help me.
root@vm258902]~# cat... (2 Replies)
Discussion started by: kapil514
2 Replies
10. HP-UX
Trying to load a specific Traditional Chinese Character on an HP UX platform for a Taiwan database. Data is converting to ?. Database has existed since 2008 and this is the first issue I've seen where a user is unable to save the multi-byte character in the database. I'm thinking this is may be... (0 Replies)
Discussion started by: OHcoder
0 Replies
quot(8) System Manager's Manual quot(8)
NAME
quot - Displays information about user files
SYNOPSIS
/usr/sbin/quot [-cfghnv] [file_spec ...]
PARAMETERS
Specifies one or more file systems. Specify a file system by entering its name as defined by its file_spec parameter in the file. Other-
wise, how you specify a file system depends on whether it is UFS or AdvFS and whether it is mounted.
To specify a UFS file system that is mounted, enter the name of its character device special file. For example: /dev/rdisk/dsk3c.
To specify a UFS that is not mounted, enter the name of its block device special file. For example: /dev/disk/dsk3c.
To specify an AdvFS fileset that is mounted, enter the name of the file domain, a pound-sign(#) character, and the name of the file-
set. For example: root_domain#root.
You cannot specify an AdvFS fileset that is not mounted.
FLAGS
Displays three columns about user files: each file's size in 1024-byte disk blocks, the number of files that are the same size as the file,
and the cumulative total of 1024-byte disk blocks that are in files that are of the same size or smaller than the file. Displays three
columns about user files: the space allocated for the user's files in 1024-byte disk blocks, the number of files owned by the user, and the
user name. Displays three columns about user files in different groups: the space allocated for the user files in 1024-byte disk blocks,
the user name, and the user's group. For UFS, displays two columns about user files: an estimate of the space allocated for the user
files in 1024-byte disk blocks and the user name. The estimate does not include calculations for sparse files and therefore inaccurately
represents them.
The flag is not implemented for AdvFS filesets. Displays a list of all files and the user name of their owners. However, you must
use the flag in the following pipeline: ncheck filesystem |sort +0n| quot -n filesystem
For example:
# ncheck /dev/rdisk/dsk0a|sort +0n|quot -n /dev/rdisk/dsk0a
> quot.out
If you attempt to use the -n flag by itself, the quot command hangs. Displays five columns about user files: the space allocated
for the user files in 1024-byte disk blocks, the user name, and how many blocks there are in user files that have not been accessed
in 30, 60, and 90 days.
DESCRIPTION
The quot command displays information about each file system's users and the files that they own. If you do not specify a file system, the
quot command processes all file systems of type ro, rw, or rq that are listed in the /etc/fstab file.
NOTES
The term file system represents either a UFS file system or an AdvFS fileset.
RESTRICTION
You must be the root user to use the quot command.
For UFS file systems, the file_spec parameter must be the name of a device that can be opened for reading.
EXAMPLES
The following command displays the blocks used and the number of files owned by each user on the mounted file system specified by the
/dev/rdisk/dsk1a character device special file name: # quot -f /dev/rdisk/dsk1a /dev/rrz1a: 42813 760 root 23882 543 bin
6 2 devbld
The following command displays the number of blocks owned by each user: # quot staff_domain#usr
staff_domain#usr: 308522 bin 93881 smith 62270 root
4335 #553
3615 bold
24 daemon
15 steven
14 jones
14 walter
6 adm
3 north
The following command displays the aging of files in the test_domain#test fileset:
# quot -v test_domain#test test_domain#test: 788912 jdoe 334932 299802 297186
1350 root 1318 1318 1310
13 nobody 13 13 0 #
FILES
Command path Contains user information Lists file systems
RELATED INFORMATION
ls(1), du(1). delim off
quot(8)