Could you please give some additional data? I'll give the commands you could issue to determine what I'm interested in along with some sample output:
*) Maintenance level and OS
*) Level of bos.rte.filesystem (the fileset containing fuser)
What you could also do is to analyse the dump the machine has written:
First, find out your dump device and make sure it is big enough to hold the dump: "sysdumpdev -e" gives an estimate how big the dump will be. Multiply that by at least 2 (out of pure paranoia and just to be on the save side). The dump will be written to the paging space so make sure it is big enough to hold that amount. During the following system startup the dump will be copied from the paging space to the designated dump-device, the manual only says it has to be a filesystem, but it hast to be in the rootvg too. Issue a "sysdumpdev -s <fs>" then to designate this location as the target device to copy the dump to at the reboot following the dump.
You could then use kdb (kernel debugger) to analyse the dump written.
fuser is used to check whether a file is in use by a process or not.
I was putting some information in a file via a background process and was doing a cat to see the contents.
It gave me the pid of background process followed by stop.
Understood only half, stopped because it was writing on it... (11 Replies)
#SCRIPT TO CHECK WHO HAS ACCESSED THE LOG/FILE IN PAST 'N' MINUTES, AND MAIL ACCORDINGLY.
MYPATH="/clocal/mqbrkrs/user/mqsiadm/sanjay/"
MAIL_RECIPIENTS="abc@xyz.com"
Subject="File accessed in last few minutes"
>tempmail.txt
>tempfind.txt
find "$MYPATH" -type f -amin -1 > tempfind.txt
cat... (0 Replies)
Anyone ever use fuser,
i tried this command fuser /database.bk
but it only returns datbase.bk:
I read some of the forums online, one of them said when he used fuser, it broke down the box, i really don't want that happen.
I thought fuser is to see who is accessing that file, right?
any... (8 Replies)
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Greetings,
I need help understanding why FUSER will not bring back PSID's on mounted filesystems. Is this a common error?
Thanks in advance for your feedback. (11 Replies)
if filename.txt is in used, exit, else continue.
i tried to use fuser -c filename.txt, but returned bunch out PIDs eventhough filename.txt is not in used.
any idea ? (10 Replies)
hi,
i have a list box , a text box and a button in a html form.
list box displays some values, when a user selects a value from the list box and press the button. the selected value should be copied to the text box value.
can any1 give me a html and javascript code to do this facility.
... (1 Reply)
Hi,
Not sure whether there is a fuser alternative or any better way to check for file in use or not.
I am wanting to check whether files are in use or not before removing them. Using fuser, the awk seems to be giving me 'weird' output not to mention that it is giving me 2 lines instead of... (0 Replies)
Team,
Presently I have a script, which i have set up cron on one of my Jump-boxes,and gives me the output on every hourly basis,fetching the data from the remote machine.Basically it gives me the list of all active users logged and its count once we execute the script.Here the count is... (6 Replies)
Hello my dear friends,
Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory.
is it possible to automate this process,If yes this has to be done from windows... (1 Reply)