Unfortunately I cannot install the gnu utils for solaris to get stat available, due to rigid change control.
Most GNU utils are already there but GNU stat is unfortunately not part of them. Solaris ls has been extended to support some GNU options though, and they provide the information required.
Quote:
I have not come across ls -lu before; I have tried repeatedly catting the file atimetest.txt today, but that does not show any change in the ls -lu output.
I am happy to accept that the default setting for atime (=on) updates the inode data, which is something I cannot see easily, in my current setup.
Here is a test showing the access time changing on Solaris 11.2:
i have used all forms of the unix find command.. and right now this is the only command i can think of that might have this option..:
if i use mtime i am looking at a time interval.. but if i wanted to find out intervals of access, change and modification according to when a file changed size... (4 Replies)
Hey,
First of all I want to know How do I see the atime of a file ?? Whats the command ??
I think ls -l shows the last modified time right ? Because when I use cat to read a file, the timestamp shown by ls -l does not change.
Its not ls -lu ! man ls did not help ! How do I see the last... (8 Replies)
Unix keeps 3 timestamps for each file: mtime, ctime, and atime. Most people seem to understand atime (access time), it is when the file was last read. There does seem to be some confusion between mtime and ctime though. ctime is the inode change time while mtime is the file modification time. ... (2 Replies)
hi, in trying to maintain your directories, one needs to do some housekeeping like removing old files. the tool "find" comes in handy. but how would you decide which option to use when it comes to, say, deleting files that are older than 5 days?
mtime - last modified
atime - last accessed... (4 Replies)
I need to sort through a volume that contains video files by access time and delete files that have not been accessed over x days. I have to use the access time as video files are originals that do not get modified, just read
Testing commands on a local test folder...
$ date
Wed Sep 28... (10 Replies)
Hi,
ctime is the inode change time. If reading a file, its atime will be updated, which should cause inode member i_atime changed, which is an inode change. So ctime should also be updated. But if I try to ls a directory on redhat, only the directory atime gets updated, not ctime. Why?
THANKS! (2 Replies)
Following this thread:
https://www.unix.com/ip-networking/1935-automated-ftp-task.html
I have created the following script:
#! /bin/ksh
HOST=ftp.mywebsite2.com
USER=astrocloud
PASSWD=8****
exec 4>&1
ftp -nv >&4 2>&4 |&
print -p open $HOST
print -p user $USER $PASSWD
print -p cd... (3 Replies)
Hello!
I have ZFS-based flash archive (flar file). I need to install to it several additional packages and patches. As I know, it is possible for USF-based flar, but how to do it with ZFS-based one? (0 Replies)
Discussion started by: sluge
0 Replies
LEARN ABOUT DEBIAN
amanda-applications
AMANDA-APPLICATIONS(7) Miscellanea AMANDA-APPLICATIONS(7)NAME
amanda-applications - Application-api for amanda
DESCRIPTION
Describe how to use application with Amanda
APPLICATIONS
This section lists the applications included with Amanda. See the individual man pages for instructions on using them. For complete How-To
information, consult the Amanda wiki at http://wiki.zmanda.com.
o amgtar(8), - use GNU Tar to backup and restore data.
o ampgsql(8), - use PostgreSQL's continuous WAL archiving.
o amraw(8), - use open and read to read the data.
o amsamba(8), - use smbclient to backup and restore data.
o amstar(8), - use star to backup and restore data.
o amsuntar(8), - use native tar on Solaris to backup and restore data.
o amzfs-sendrecv(8), - use zfs to create a snapshot and use 'zfs send' to generate the backup.
o amzfs-snapshot(8), - use zfs to create a snapshot and for use with other applications (e.g. amgtar)
DEFINING APPLICATIONS
An application is defined in amanda.conf(5) as follows:
define application-tool $appconfigname {
plugin "$pluginname"
property "$PROPERTY_NAME" "$PROPERTY_VALUE"
...
}
and then referenced in a dumptype as
define dumptype $dumptypename {
...
program "APPLICATION"
application "$appconfigname"
}
Application properties, like Amanda configuration parameters, are insensitive to case, and - (dash) and _ (underscore) may be used
interchangeably.
See the individual plugin documentation for properties applicable to each plugin.
SEE ALSO amanda(8), amanda.conf(5)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.1 02/21/2012 AMANDA-APPLICATIONS(7)