8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I tried different solutions given in various linux portals but no luck..
The directory consists of files with no-extension.
Each file has only one line. I need to add each filename to the top of each file so eventually each file will have two rows.
Filenames have spaces between words... (6 Replies)
Discussion started by: baris35
6 Replies
2. Shell Programming and Scripting
Hello,
I have about 100 servers that I'm looking to collect information regarding top files and processes accessed within a 168 hr (1 week) period. Each server has a different purpose and so different installed applications. All servers are running either unix or linux.
What would be a... (0 Replies)
Discussion started by: umang2382
0 Replies
3. Shell Programming and Scripting
Hi Unix experts;
I have 30000 files in a directory and am willing to do the following changes on each of them. The input files look like the following:
1 , 2
3 , 4
5 , 6
7 , 8
9 , 10
the output will have # in top 10 lines, insert space instead of comma. This looks like:
... (4 Replies)
Discussion started by: nxp
4 Replies
4. AIX
Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold
I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies
5. AIX
Is there a 'top' command equivalent in AIX 4.2 ?
I already checked and I do not see the following ones anywhere:
top
nmon
topas (1 Reply)
Discussion started by: Browser_ice
1 Replies
6. Shell Programming and Scripting
Hi All,
i have one simple question on unix command. I have number files under one directiory and includes sub directories as well. Here, i need to find top 5 files whose sizes are big when compared to other files in ascending or descending order. please note that i need unix command for this... (3 Replies)
Discussion started by: dbsurf
3 Replies
7. Shell Programming and Scripting
i have some 1000 files in my dir and i want to find top 100 files and move them to some other location:
below the 2 commands i used, but it is not working
ls -ltr | grep ^- | head -100 | xargs mv destination - _________>not working
ls -ltr | grep ^- | head -100 | xargs mv {}... (3 Replies)
Discussion started by: ali560045
3 Replies
8. Solaris
hi all,
is there any way how i can output the top 10-30 biggest files for all filesystem?
using du -sh * is quite tedious since i have to move from 1 directory at a time.
thanks (3 Replies)
Discussion started by: 3rr0r_3rr0r
3 Replies