Sponsored Content
Top Forums Shell Programming and Scripting Need help in changing Mod time of a file Post 302238878 by ali560045 on Monday 22nd of September 2008 09:04:23 AM
Old 09-22-2008
Thanks a lot evrybody i got it using

touch -m -t 200809200934

command.

I was just wondering can we do it through EPOCH time.

Thanks a lot everybody
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

retain create/mod date and time of files

Hi, I have a requirement by which I need to take a snapshot of a certain directory of a certain types of files into a target directory within the same server (HP-UX 9000). The problem is that the files created in the target directory has the date and time of when the files were copied over. ... (5 Replies)
Discussion started by: jerardfjay
5 Replies

2. UNIX for Dummies Questions & Answers

How to MV without changing Time Stamp

Hi, I need to move the set of files, and it should be same time stamp as previous. How to do this? (3 Replies)
Discussion started by: redlotus72
3 Replies

3. Shell Programming and Scripting

changing modified time

How to change the modified time of a file to any specified time. ls -ltr drwxr-xr-x 2 pipe pipe 4096 Jun 10 10:33 coredump_06062008 ---------------------------------------------------------------------- here file coredump_06062008 last modified time is Jun 10 10:33 and i... (1 Reply)
Discussion started by: ali560045
1 Replies

4. AIX

changing server time

Hi all, we have IBM- AIX 5.2 operating system on that we have our oracle production database and there is daily crontab script for backup. my boss told me to change the server time.if i change the server time by root user does it give problem to any application or script which are... (2 Replies)
Discussion started by: younusdba
2 Replies

5. Shell Programming and Scripting

Why does the 'pid' keep changing every time?

HI I checked the pid of a process on my machine using this command. ps -ef | awk '/process_name/{ print $2 }' I get the result as 12245 I check it again after 2 mins, I get the result as 12264 I check it again after 2 mins, I get the result as 12289 It keeps on this. How does this pid... (4 Replies)
Discussion started by: ss3944
4 Replies

6. Shell Programming and Scripting

Changing File Time Stamp (Bash Script)

I need some help recovering from a "slight" screwup. We just moved 3 TB of data from one RAID Array to another. Low lever archive files. This was done with a regular cp (for some reason) and now we have lost all the timestamps on the files, and we urgently need to get the timestamps back on these... (7 Replies)
Discussion started by: chj
7 Replies

7. Shell Programming and Scripting

Last modified time of the folder is changing when I view the file inside the directory

Hi., Last modified time of the folder is changing when I view the file inside the directory. Here is the test on sample directory. I believe that ls -l commands gives the time detail w.r.t last modified time. Pl. suggest. bash-3.2$ mkdir test bash-3.2$ cd test bash-3.2$ touch myfile.txt... (2 Replies)
Discussion started by: IND123
2 Replies

8. Shell Programming and Scripting

changing a file when the inode modified time of the other file changes

i have a requirement where i needed to change variable values in a properties file(first file) whenever there is change to Release details file(second file). My question is do i have to create a daemon process that always checks the modified time/inode change of the second file and then change the... (1 Reply)
Discussion started by: saikiran_1984
1 Replies

9. Solaris

Changing only time zone file not the timezone without reboot

Hello all, I just want to update the timezone file with new file to update the time, so the zone in /etc/TIMEZONE will be the same but the file it refers to will be changed, and the local time should be changed, can this take effect without rebooting Solaris 10? (9 Replies)
Discussion started by: Amr.Es
9 Replies
diskaudit_flush_interval(5)					File Formats Manual				       diskaudit_flush_interval(5)

NAME
diskaudit_flush_interval - determine time interval (in secs) for flushing audit records VALUES
Failsafe Default Allowed values Recommended values DESCRIPTION
The tunable controls the periodic interval between two consecutive flushes of audit records buffered in the kernel memory which is bound to a kernel thread. This kernel thread has 64KB of buffer size to hold the audit records, and there can be a maximum of 32 such threads. These kernel threads automatically flush their buffers if the buffers fill up completely, but that might take a long time depending upon the activities in the system. The value of the tunable should be set such that the threads keep cleaning their buffers when they are approximately half full, or are idle for a long time but still holding some data in the buffer. Keeping the tunable value too low will make threads flush too soon and may lead to too many small write operations, thus impacting performance. On the other hand, keeping the value too high might lead to high unflushed memory consumption. Who Is Expected to Change This Tunable? An administrator with proper privileges can change the value of Restrictions on Changing None. This tunable is dynamic. When Should the Value of This Tunable Be Raised? When the system is not processing many audit-related activities. What are the Side Effects of Raising the Value? If the system is generating large numbers of records, and the value is raised, then it can result in a lot of unflushed memory, and might slow down the system. When Should the Value of This Tunable Be Lowered? When the system is generating a lot of audit records. What are the Side Effects of Lowering the Value? If the system is not generating too many records, and the value is lowered, it might lead to a lot of small numbers of writes, which actu- ally only write to buffer cache and not immediately to the physical disk, with the actual write happening later on. This might impact per- formance again. What Other Tunable Values Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
audit(5). Tunable Kernel Parameters diskaudit_flush_interval(5)
All times are GMT -4. The time now is 09:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy