Posted 2012-03-29 01:47 by Joe
stat-file.pl
Displays information about a file on a managed system.
This command outputs all available information about a file on some remote system,
selected using the --host flag.
The file or directory to query is specified with the --file flag,
followed by a filename.
It can be used to check if a file exists,
its size or permissions.
Example usage
cloudmin stat-file --host xencentos.home --file /etc/hosts Filename: /etc/hosts System: xencentos.home Device: 2065 Inode: 2976446 Permissions: rw-r--r-- Octal permissions: 100644 Hard links: 1 GID: 999 Size: 53 Access time: 06/Sep/2010 19:19 Modification time: 14/Jan/2010 11:51 Change time: 14/Jan/2010 11:51 Block size: 4096 Block count: 8
Command Line Help
cloudmin stat-file --host name
--file filename
