coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Sunday May 27, 2012


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 24 guests online

Newest Member

beyondimagem

Hit Counter
9133545 Visitors

cool Statistics
coolcommands:1330
Categories:83
Total queries:595500
Members:16437





Category Search coolcommands.com
Select Category:


coolcommand

ff - how to list file names and statistics for a file system in IBM AIX
Description

To list file names and statistics for a file system in IBM AIX:

# ff [ -a Number ] [ -c Number ] [ -I ] [ -l ] [ -m Number ] [ -n File ] [ -o Option ] [ -p Prefix ] [ -s ] [ -u ] [ -V VFSName ] [ -i I-Number [ ,I-Number... ] ] [ FileSystem ]

where:

-a Number : displays the file if it has been accessed within the number of days specified by the Number parameter.

-c Number : displays the file if its i-node has been changed within the number of days specified by the Number parameter.

-i I-Number : displays the files corresponding to the i-node numbers specified by the I-Number parameter. The i-node numbers listed must be separated by a comma.

-I (uppercase i) : does not display the i-node after each path name.

-l (lowercase L.) : additionally displays a list of pathnames for files with more than one link.

-m Number : displays the file if it has been modified within the number of days specified by the Number parameter.

-n File : displays the file if it has been modified more recently than the file specified by the File parameter.

-o Options : specifies file system implementation-specific options.

-p Prefix : adds the prefix specified by the Prefix parameter to each path name. The default prefix is . (dot).

-s : writes the file size, in bytes, after each path name.

-u : writes the owner's login name after each path name.

-V VFSName : instructs the ff command to assume the file system is of type VFSName, overriding the value in the /etc/filesystems file.

Example to list the path names of all files in a given file system, enter:

# ff -I /dev/hd0

Example too list files that have been modified within the last two days, enter:

# ff -m -2 -u /dev/hd0

Example to list files that have last accessed time more than 30 days ago , enter:

# ff -a +30 /dev/hd0

Example to find out the paths corresponding to i-nodes 451 and 76, enter:

# ff -l -i 451,76 /dev/hd0

Example

ff -l -i 451,76 /dev/hd0

Return to search results

Random coolcommands

coolcommand: how to trap signals in scripts or login
Example: trap 'exit 0' 1 2 3 9 15
[show me the details]
coolcommand: how to delete a row from a mysql database table
Example: delete from user where user='stephane';
[show me the details]
coolcommand: how to delete all arp entries in Linux
Example: for i in $(sed '1d' /proc/net/arp | awk '{print $1 }'); do arp -d $i; done
[show me the details]
coolcommand: lssyscfg command will list the system configuration
Example: lssyscfg -r [ sys | frame | alpar | lpar | prof | sysprof ] -n object-name [ | —all ] [ -m "managed-system" ] [ -p "partition-name" ] [ -F format | -z ] [ —help ]
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1152
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris49379
Category AIX46267
Category General UNIX43933
solaris22927
aix22116

Terms of Use
Privacy
Contact


 
coolcommands.com © 2012. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum