I don't know if solaris has an exact equivalent, but it's simple enough to rewrite that command in plain awk without nonstandard extensions. There's nothing in there that really needs sed, extended or otherwise.
Hi,
C an someone help me out in getting the command to get system statistics like CPU, DISK and I/O utilization in a single command instead of mpstat,vmstat and iostat.
When i give sar, getting the following error,
bash-3.00# sar
sar: can't open /var/adm/sa/sa15
No such... (6 Replies)
Hi All,
We are trying to migrate scripts from HP Unix to Solaris server, in one of the profile file following command is used to set terminal settings and export its value,
"ttytype -a -s "
Now the same command is not present in Solaris, could someone let me know which command should i... (0 Replies)
I'm looking for SED equivalent for grep -w -f. All I want is to search a list of patterns from a file. Also If the pattern doesn't match I do not want "null returned", rather I would prefer some text as place holder say "BLANK LINE" as I intend to process the output file based on line number.
... (1 Reply)
functions...
---------- Post updated at 02:51 PM ---------- Previous update was at 02:22 PM ----------
sorry i didnīt put the header in the message.
i use to add this to cron in hp-ux for do the ignite
00 00 1,15 * * /opt/ignite/bin/make_net_recovery -s <IGNITE SERVER> -n 1 -P s -u -x... (5 Replies)
Hello guys,
I'm cleaning out big XML files (we're talking about 1GB at least), most of them contain words written in a non-latin alphabet.
The command I'm using is so slow it's not even funny:
cat $1 | sed -e :a -e 's/<*>//g;/</N;//ba;s/</ /g;s/>/... (4 Replies)