10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to find the files in a specific directory that are currently in open state. I need this information to archive the old files that are not active in the directory.
I get the following output when I try the command $ lsof +d '/var/tmp/'|awk '{print $9}'|sort -u
NAME... (1 Reply)
Discussion started by: ryzen7
1 Replies
2. AIX
Hello,
There is a process in AIX which is actually a oracle database user session but is running very slow When I use lsof it give below output
lsof /proc/21955180
In while loop:256
In while loop:256
In while loop:256
In while loop:256
Value of I :183 np:1024
Please... (1 Reply)
Discussion started by: Vishal_dba
1 Replies
3. Solaris
Hi,
Can anyone explain me the difference between fsuer and lsof commands. As per my knowledge both the commands are used to find the processes used by the current file system or user. Apart from that what is the major difference between these commands (3 Replies)
Discussion started by: rogerben
3 Replies
4. Shell Programming and Scripting
I have 9 servers, on each server a script with common name is available.
I send a token file to all server from 1 particular server. so when a daemon job checks that token file is available then it triggers the script..
I want to know is there any command or script which I will run/execute on... (16 Replies)
Discussion started by: mirwasim
16 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have used df -k always just to check the % of disk space left.
Recently i discovered that the sum availabl space and used space is not equal to 1K-blocks.
Can anyone explain me the reason for this difference.
Thanks. (3 Replies)
Discussion started by: shooter
3 Replies
6. Shell Programming and Scripting
Iam trying to insert a line after #Cluster in the property file shown below
#Node=Nodehostname:NodeProfilename
Node=testNode:test_profile
#Cluster=Cluster_Name:nodeName@ClusterMem1,nodeName@ClusterMem2,....
#DC=DCname:DCnodegrp:DCtemp
DC=test_DC:test_NG:test_template
i was using sed command... (12 Replies)
Discussion started by: SSSB
12 Replies
7. Shell Programming and Scripting
Hello,
I have a string below
DUMMY=1,2,3,4,5,6
I want to extract fields 1-3 and put it as under in a file
1,2,3
I can do this using cut like below
echo $DUMMY | cut -d, -f1-3
But I would be processing more than 15000 such entries and I found that "cut" was using more CPU. So anyone... (2 Replies)
Discussion started by: Mohammed
2 Replies
8. AIX
hello
Sorry but i don't understand very well the lsof command with the man.
Can you explain to me what is the use of this command ?
thank you (2 Replies)
Discussion started by: pascalbout
2 Replies
9. UNIX for Dummies Questions & Answers
hi, im trying to cut the file using cut command in unix . the problem is i want to input the chacter list from another file and then using the postioins specified in this file i want to cut another file.
for eg.
cut -c(here i want to use a list being read from a file) listdata(this is the file i... (2 Replies)
Discussion started by: vikramchots
2 Replies
10. Solaris
Hi,
I am new to UNIX environment. Can anybody tell me how can I check whether my OS is 32bit or 64bit?
Regards,
Malay Mary (4 Replies)
Discussion started by: malaymaru
4 Replies