10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am familiar with using "lsof <filename>" or "fuser <filename>" to determine what process has a given file (usually a .nfs) open. However, I recently used this command and it returned a blank list. I suspect the process that has the .nfs file open might be on another system. Is there a way... (2 Replies)
Discussion started by: Special_K
2 Replies
2. Shell Programming and Scripting
I have logs files which are generated each day depending on how many processes are running. Some days it could spin up 30 processes. Other days it could spin up 50. The log files all have the same pattern with the number being the different factor. e.g.
LOG_FILE_1.log
LOG_FILE_2.log etc etc
... (2 Replies)
Discussion started by: atelford
2 Replies
3. Shell Programming and Scripting
Hi!
I just want to count number of files in a directory, and write to new text file, with number of files and their name
output should look like this,,
assume that below one is a new file created by script
Number of files in directory = 25
1. a.txt
2. abc.txt
3. asd.dat... (20 Replies)
Discussion started by: Akshay Hegde
20 Replies
4. UNIX for Dummies Questions & Answers
Hello,
Here is my question. I have a file which contains the html values. I have to find the decimal number from it. It is tagged around >68.74<. Please help me on it..
alt='' ><\/td>\n\t\t<td align=\"right\" class='data_table_text data_table_conv_averages_text' \
style='padding-right:... (1 Reply)
Discussion started by: sathyaonnuix
1 Replies
5. Shell Programming and Scripting
I am trying to find out the number of dtsessions.
using the command
wc -l $FILE_NAME
it works fine
But when I try to assign this value to some variable using the command
set NUM_DT_SESSION=$(wc -l $FILE_NAME)
it shows error Variable syntax
find below the complete command... (1 Reply)
Discussion started by: hiten.r.chauhan
1 Replies
6. UNIX for Advanced & Expert Users
I am having a client/server application which will download files from server. If server has directories, it will create directories/sub directories and then download files. In this process, I observed that number of open files are more than 400 (which is approxmately same as number of dir/subdir... (1 Reply)
Discussion started by: satyam90
1 Replies
7. Shell Programming and Scripting
I am trying to find all files in a directory whose name has a real number larger then the number I am looking for.
For example:
.
|-- delta.1.5.sql
|-- delta.2.1.sql
|-- delta.2.2.sql
|-- delta.2.3.sql
|-- delta.2.4.sql
`-- delta.2.5.sql
I know my database is at 2.2 so I want an... (2 Replies)
Discussion started by: harmonwood
2 Replies
8. Shell Programming and Scripting
I think my script is working but i am trying to understand while I am tracing to see if it's realli working..
can somebody please comment.. also. is there different way to write this in shell?
sh -x findbiggestnum 1 2 3
+
big=0
+
big=1
+
big=2
+
big=3
+ echo 3
3
big=0
... (3 Replies)
Discussion started by: hankooknara
3 Replies
9. Solaris
Hi,
Anyone know the command as how many files are open in Solaris 10 and Linux - i.e. currently open - real time
Thanks (1 Reply)
Discussion started by: civic2005
1 Replies
10. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies