Search Results

Search: Posts Made By: Shinsuio
6,451
Posted By Shinsuio
Using mail in awk
I'm having a bit of trouble using the mail command within awk. I'm sending the contents of the body through a pipe like so:
wget -qO- http://cs.actx.edu/~craddock/unix2/lab11 | awk -v oldprice=`cat...
4,329
Posted By Shinsuio
Alright! I've got it figured out :) Thanks for...
Alright! I've got it figured out :) Thanks for your help!
4,329
Posted By Shinsuio
Comparing variables in awk
I'm writing a shellscript that monitors the price of a watch. If the prices changes, it should email me. The body of the email will show the old price and the new price. However when I compare the...
4,980
Posted By Shinsuio
Thanks everyone for your help! I've got it...
Thanks everyone for your help! I've got it working like I want. :)
4,980
Posted By Shinsuio
This works however, all users have the same...
This works however, all users have the same processes as far as I can tell, it does not list the processes just for that user. Thanks for the input, i'm going to play around with this and see if I...
4,980
Posted By Shinsuio
This is what I tried to use: ps -eaf h |awk...
This is what I tried to use:

ps -eaf h |awk -v var="$I" '/var/{print $2 $8 $6}'

And this is the output I got from that..


Nothing like what I need. :(
4,980
Posted By Shinsuio
Help with awk in a loop/shellscript
I am trying to write a shell script using awk which will format the output of the "ps -eaf" command by sorting it by user and then listing all of the processes for each user. Here is an example of...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 12:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy