10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am running below command as root user
#nodetool cfstats tests | grep "Memtable switch count"
Memtable switch count: 12
Where as when I try to run same command as another user it gives different result.
#su -l zabbix -s /bin/bash -c "nodetool cfstats tests | grep "Memtable switch... (10 Replies)
Discussion started by: Pushpraj
2. Shell Programming and Scripting
i need the count of rows of file1.txt present in the file2.txt
AAA 2 (10 Replies)
Discussion started by: mdkm
3. Shell Programming and Scripting
I have to grep string from 20 - 30 files each carries 200 - 300 MB size and append to the
file. How to speed the
cat catalina.out_2012_01_01 | grep "xxxxx" >> backup.txt
PLZ, Suggest me,
Nanthagopal A (5 Replies)
Discussion started by: nanthagopal
4. Shell Programming and Scripting
i'm greping the files with sepefic keyword, where the file is of too big. Assume there are 10 days log file each of more than 200mb. i've to grep all those files with a specific keywords.
1. i'll grep for error message
2. after the i'll do one more grep for keyword... (4 Replies)
Discussion started by: vij_krr
5. Filesystems, Disks and Memory
I analysed disk performance with blktrace and get some data:
8,3 4 2141 2.882115217 3342 Q R 195732187 + 32
8,3 4 2142 2.882116411 3342 G R 195732187 + 32
8,3 4 2144 2.882117647 3342 I R 195732187 + 32
8,3 4 2145 ... (1 Reply)
Discussion started by: W.C.C
6. Shell Programming and Scripting
i want to search in the current directory all the files that contain one word for example "hello"
i want to achieve it with the grep command but not with the grep * (2 Replies)
Discussion started by: aintour
7. Shell Programming and Scripting
Ive written 2 programs in shell and I need to compare their speed (Compile) against one another.
what methods could I go about doing this?
Is there a feature in shell do accommodate this? (2 Replies)
Discussion started by: Darklight
8. UNIX for Advanced & Expert Users
I am doing "ps -f" to see my process.
but I get lines that one of it represents the ps command itself.
I want to grep it out using -v flag, but than I get another process that belongs to the GREP itself :
I would like to exclude
# ps -f
UID PID PPID C STIME TTY TIME CMD... (2 Replies)
Discussion started by: yamsin789
9. Filesystems, Disks and Memory
I have a Supermicro server with a P4SCI mother board running Debian Sarge 3.1. This is the "dmidecode" output related to RAM info:
RAM speed information is incomplete.. "Current Speed: Unknown", is there anyway/soft to get the speed of installed RAM modules? thanks!!
Regards :)... (0 Replies)
Discussion started by: Santi
10. UNIX for Dummies Questions & Answers
I grepped for a string from a directory of very large files. This took quite a long time (not a problem). When I grepped for a different string from the same files immediately after, the output was MUCH quicker.
My question is, does anybody know why the second grep was so much quicker than the... (1 Reply)
Discussion started by: davirime