10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello,
I am running ubuntu14.04
What I am trying to do is restart a process with a shell when pid is dead.
I restored pid nr in a file and check with ps aux | grep -v grep | grep $(cat *.pid)| awk '{ print $2 }'
While surfing on google, I have found an answer saying that restoring pid in a... (2 Replies)
Discussion started by: baris35
2 Replies
2. UNIX for Dummies Questions & Answers
Trying to make some blinking text to designate a process taking place. Trying to figure out how when the process is complete how to end the blinking. I could clear out but then I lose any prior output which I don't want.
echo "Archiving Files..."
printf "\x1b (10 Replies)
Discussion started by: wyclef
10 Replies
3. Shell Programming and Scripting
Hello,
I am in need of running an executable provided by a vendor that basically syncs files to a db. This tool can only be run against one folder at a time and it cannot have more than one instance running at a time. However, I need to run this tool against multiple folders. Each run of the... (5 Replies)
Discussion started by: vipertech
5 Replies
4. Shell Programming and Scripting
Hi,
I need to initiate a process script which will start and do some processing and then shuts down. Then i need to other verifications. But the the process takes around 25 to 3o minutes.
One thing i can monitor the nohup.out file for this process where i can wait for shutting down statement to... (3 Replies)
Discussion started by: Prashanth19
3 Replies
5. Shell Programming and Scripting
Hi experts,
I have a requirement wherein a user is uploading a file to the Landing directory on one of our Linux servers. A cron job is scheduled to run after every 5 minutes which will pick up the files from the source (Landing) dir and copy to the target dir, and once successfully copied to... (4 Replies)
Discussion started by: adi_2_chaos
4 Replies
6. UNIX for Dummies Questions & Answers
Hello,
Before I do a GET remote file, I need to ensure the remote file is a complete file i.e. whatever process is saving the file to the remote folder should complete the transfer before I go GET it through my script.
So I'm thinking I need to poll the remote file every minute or so to... (4 Replies)
Discussion started by: srineel
4 Replies
7. HP-UX
hi
I have a core file from customer and i am looking for a way to know whether its complete or truncated?
I have a procedure to check core file on solaris , is there any way to know whether core is truncated on HP-UX?
from
khan (1 Reply)
Discussion started by: khan_069
1 Replies
8. AIX
Hi
I am looking for a way to confirm whether a core File is complete or Truncated
Is there any way
from
Khan (2 Replies)
Discussion started by: khan_069
2 Replies
9. Shell Programming and Scripting
I am attempting within a for-loop, to have my shell script (Solaris v8 ksh) wait until a copy file command to complete before continueing. The specific code is:
for files in $(<inputfile.lst)
do
mv directory/$files directory/$files
ksh -m -i bg %%
wait $!
done
I am shaky on the... (3 Replies)
Discussion started by: gozer13
3 Replies
10. Shell Programming and Scripting
I'm using PERL on windows NT to try to run an extract of data. I have multiple zip files in multiple locations. I am extracting "*.t" from zip files and subsequently adding that file to one zip file so when the script is complete I should have one zip file with a whole bunch of ".t" files in it.
... (2 Replies)
Discussion started by: dangral
2 Replies
FSFREEZE(8) System Manager's Manual FSFREEZE(8)
NAME
fsfreeze - suspend access to an filesystem (Linux Ext3/4, ReiserFS, JFS, XFS).
SYNOPSIS
fsfreeze -f mountpoint
fsfreeze -u mountpoint
DESCRIPTION
fsfreeze suspends and resumes access to an filesystem
fsfreeze halts new access to the filesystem and creates a stable image on disk. fsfreeze is intended to be used with hardware RAID devices
that support the creation of snapshots.
fsfreeze is unnecessary for device-mapper devices. The device-mapper (and LVM) automatically freezes filesystem on the device when a snap-
shot creation is requested. For more details see the dmsetup(8) man page.
The mount-point argument is the pathname of the directory where the filesystem is mounted. The filesystem must be mounted to be frozen
(see mount(8)).
OPTIONS
-h, --help
Print help and exit.
-f, --freeze
This option requests the specified a filesystem to be frozen from new modifications. When this is selected, all ongoing transac-
tions in the filesystem are allowed to complete, new write system calls are halted, other calls which modify the filesystem are
halted, and all dirty data, metadata, and log information are written to disk. Any process attempting to write to the frozen
filesystem will block waiting for the filesystem to be unfrozen.
Note that even after freezing, the on-disk filesystem can contain information on files that are still in the process of unlinking.
These files will not be unlinked until the filesystem is unfrozen or a clean mount of the snapshot is complete.
-u, --unfreeze
This option is used to un-freeze the filesystem and allow operations to continue. Any filesystem modifications that were blocked by
the freeze are unblocked and allowed to complete.
AUTHOR
Written by Hajime Taira.
NOTES
This man page based on xfs_freeze. One of -f or -u must be supplied to fsfreeze.
SEE ALSO
mount(8)
AVAILABILITY
The fsfreeze command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
May 2010 FSFREEZE(8)