I need to write a shell script which checks the CPU utilization is above 90% for a particular process.
So far I have done this
prstat 0 1 | grep weblogic | awk '{print $9}'
This give an output like this
0.1%
0.0%
0.0%
0.0%
0.0%
Now I need to assign this to an array and check... (4 Replies)
Dear Forum,
My .cshrc settings are embedded in a massive jungle of code distributed all over the place, where finding anything is a "needle in a haystack" daily pain in the royal backside.
Is there anyway, i can dump out every command and file executed to STDOUT after sourcing my .cshrc ???
... (2 Replies)
How could you put the output of two commands into one file using a single command? For example put the output of a grep command and a sort command into one file together.
Here is another rough explanation of what I am trying to do;
output of
$ grep pattern file1
plus output of
$ sort file... (8 Replies)
How i can combine output of two commands in one file.......i tried this but it is not working although each command is working good seperately.....
head -1 filename | tail -1 filename
i think there is problem with command concatenator? (16 Replies)
I'm looking for a CLI utility that will capture all the commands you type at the Solaris CLI (and their output) into a file. I'm sure it's called "scripter", but I can't find anything on a command called scripter.
Does anyone know of a such a command?
Your help will be greatly... (3 Replies)
Hi every body
i have a problem need help urgently
file 1 (approx 200K entries)
aaaaa
bbbb
cccccc
dddd
ffff
file 2 (approx 2 million entries)
aaaaa,1,ee,44,5t,6y,
bbbb,3,ff,66,5u,8r,
cccccc, .....
dddd, .....
eeeeee, .....
ffff, ...... (5 Replies)
Hi,
I have a question of comparing to files and output
the result third file where file1 is the mainfile containing processed dir data
and 2nd file grepīs dirīs data again (could be newer dirs comparing file1<file2)
now i wanna make shure that output in file3 only contains newer dirs
hx... (1 Reply)
Hi,
I have two files, file1 and file2 and I need to compare them by line (exact match, order of the lines is not important) and get output with lines from file2 that are not found in file1 (not other way around).
How do I do that? With grep or otherwise..
Thankyou (2 Replies)
I'm very new to shell scripting, below is my output in status.txt
CM TARGET ACTUAL
---------------------------------- ---------- ----------
Conflict Resolution Manager 1 1
Internal Manager 1 ... (6 Replies)
I am trying to run 2 sets of commands but want their output in a particular format.
The 2 commands are :
md5sum $WAR_DIR/$war
and
java -jar $WAR_DIR/$war | grep build.release.version | awk '{print $3}'
The first command gives an output of
5f5261a33b92a36f80218cf14e8271ad ... (4 Replies)
Discussion started by: Junaid Subhani
4 Replies
LEARN ABOUT DEBIAN
update-flashplugin-nonfree
UPDATE-FLASHPLUGIN-NONFREE(8) System Manager's Manual UPDATE-FLASHPLUGIN-NONFREE(8)NAME
update-flashplugin-nonfree - program to get the newest Adobe Flash Player
SYNOPSIS
update-flashplugin-nonfree --install
update-flashplugin-nonfree --uninstall
DESCRIPTION
The program update-flashplugin-nonfree takes care of downloading last minute information from Debian about suitable versions, removing the
installed Adobe Flash Plugin if it has been reported as insecure, or, if a newer suitable version is available, downloading a newer Adobe
Flash Player and its installer from the Adobe download site, run the downloaded installer to install the Adobe Flash Player on the local
system, and then move the installed files to where they fit on a Debian system.
A copy of the downloaded .tar.gz is saved in /var/cache/flashplugin-nonfree for later reuse.
The program update-flashplugin-nonfree is used in the postinst and prerm scripts of the Debian package, but this program can also be run
manually by root.
OPTIONS --install
To install, update or remove the Adobe Flash Player depending on downloaded last minute information from Debian about suitable ver-
sions.
--uninstall
To remove the Adobe Flash Player.
--verbose
Produce detailed information about what's happening.
--quiet
Produce no informational output.
SEE ALSO
http://wiki.debian.org/FlashPlayer
If you subscribe to this wiki page, then you will receive updates via e-mail.
http://www.adobe.com/
The Adobe homepage.
August 15, 2007 UPDATE-FLASHPLUGIN-NONFREE(8)