Search Results

Search: Posts Made By: ssk250
2,752
Posted By RavinderSingh13
Hello ssk250, You should give complete path...
Hello ssk250,

You should give complete path with command for which you want to show files as follows.

My/actual/path/ls *_20151201*.txt
Could you please try above within your crontab...
2,752
Posted By RudiC
What's the output of ls *.txt? Does it contain...
What's the output of ls *.txt? Does it contain files matching your pattern? As crondoesn't have your usual environment by default, you need to explicitly set it, e.g. by running your .profile script.
3,379
Posted By bakunin
This introduction...
This introduction (https://www.unix.com/unix-for-dummies-questions-and-answers/197897-how-receive-mails-unix.html) i once wrote might help you understand the process.

I hope this helps.

bakunin
3,379
Posted By vbe
Well if your unix box acts as a mail server I...
Well if your unix box acts as a mail server I suppose so...
Forum: HP-UX 02-18-2015
8,062
Posted By MadeInGermany
A useful monitoring object is total available...
A useful monitoring object is total available memory
swapinfo | awk '{total+=$2; used+=$3} END {print int(used*100/total)}'And a warning threshold of 80 (percent usage).
This will warn before an...
Forum: HP-UX 02-17-2015
8,062
Posted By DGPickett
PS: Used/Free memory in a VM system is pretty...
PS: Used/Free memory in a VM system is pretty meaningless. Once a system goes quiescent, the free memory just represents recent proceess terminations, which make a bunch of free pages. Pages may be...
Forum: HP-UX 02-16-2015
8,062
Posted By gandolf989
Certainly your way is more instructive... :cool:
Certainly your way is more instructive... :cool:
Forum: HP-UX 02-16-2015
8,062
Posted By rbatte1
Here's a better way:- Better way to look for...
Here's a better way:- Better way to look for things (http://bit.ly/1zI9ePC)
Forum: HP-UX 02-16-2015
8,062
Posted By gandolf989
You should have tried this: calculate the...
You should have tried this:

calculate the cpu and memory usage of HP-UX server (http://tinyurl.com/nfgszzx)
Forum: AIX 02-06-2015
8,511
Posted By drl
Hi. Some general alternatives, as opposed to...
Hi.

Some general alternatives, as opposed to single-purpose solutions:
Print lines above, below pattern-matched line (context, window); "only" string matching pattern
1) GNU grep -A -B; ggrep...
Forum: AIX 02-06-2015
8,511
Posted By bakunin
The probably easiest way is to use good old sed...
The probably easiest way is to use good old sed instead of all the fancy tools:

sed -n '/<search-pattern>/ {;N;...N;p;}' /path/to/file

Put in x-1 "N"s to display x lines of text after the...
Forum: AIX 02-06-2015
8,511
Posted By MadeInGermany
The following shell command emulates the ggrep -E...
The following shell command emulates the ggrep -E -A4, and works on all Unix:
PATH=/usr/xpg4/bin:/bin:/usr/bin awk '$0~PAT {a=A+1} (a && a--)' A=4 PAT="ISEND" sqloutput1.log
Omit the A=x to have...
Forum: AIX 02-06-2015
8,511
Posted By Don Cragun
Perhaps something like: /usr/xpg4/bin/awk ' ...
Perhaps something like:
/usr/xpg4/bin/awk '
function pprev( i) {
for(i = (NR > LINES) ? NR - LINES + 1 : 1; i <= NR; i++)
print l[i % LINES]
print ""
}
{ l[NR % LINES] = $0
}
$0 ~ PAT...
Forum: AIX 02-05-2015
8,511
Posted By RavinderSingh13
Hello ssk250, Could you please use ...
Hello ssk250,

Could you please use /usr/xpg4/bin/awk, and /usr/xpg6/bin/awk in place of awk this should work.

Thanks,
R. Singh
Forum: AIX 02-05-2015
8,511
Posted By MadeInGermany
(N--) > 0 can overflow with large files. Better...
(N--) > 0 can overflow with large files. Better (N && N--)!
Forum: AIX 02-05-2015
8,511
Posted By Corona688
Sorry, there was a mistake in my code. awk...
Sorry, there was a mistake in my code.

awk '$0 ~ PAT { N=LINES } (N--) > 0' LINES=5 PAT="ISEND" sqloutput1.log
Forum: AIX 02-04-2015
11,211
Posted By rbatte1
In what way is it 'not working'? Do you get any...
In what way is it 'not working'? Do you get any output/errors that we can see?


Could I also suggest that you move your credentials to the next line. If anyone does a ps -ef | grep sql whilst...
8,979
Posted By JustaDude
Have you tried ssh user@host cat...
Have you tried
ssh user@host cat /path-to-file/file ?
8,979
Posted By Ditto
Have you tried putting those commands into a...
Have you tried putting those commands into a script?

ie:

echo "cd <path>" >file1.ksh
echo "cat <filename>" >> file1.ksh
chmod +x file1.ksh

make sure it's owned by <username>

then try...
8,979
Posted By Chubler_XL
The problem here is that the cat is running...
The problem here is that the cat is running locally. Your local shell is seeing the semicolon as a command separator between the ssh command and the cat command. Try quoting the command string to...
Forum: HP-UX 11-14-2014
9,464
Posted By vbe
the min is for minimum cache: whatever memory...
the min is for minimum cache: whatever memory reclamation is buffers wont go under that value...
So max is to be understood as the maximum buffer cache you let the system have, if there is memory...
Forum: HP-UX 11-13-2014
9,464
Posted By vbe
Almost what I sugested in post#14 hehe My...
Almost what I sugested in post#14 hehe
My concern is you CSTM output... when was last reboot? after next reboot think too look at cstm / memory to see if the errors are getting worse, if the case...
Forum: HP-UX 11-06-2014
9,464
Posted By rbatte1
I would not worry about real memory being shown...
I would not worry about real memory being shown as used. The OS will retains data (including code) that have been used in case another process wants them as it is more efficient that reading from...
Forum: HP-UX 11-06-2014
9,464
Posted By MadeInGermany
Yes, everything is normal, I bat on Oracle...
Yes, everything is normal,
I bat on Oracle shared memory, too.
Maybe also reflected by the VSZ value in
env UNIX95=1 ps -eo user,pid,sz,vsz,comm
Forum: HP-UX 11-04-2014
9,464
Posted By MadeInGermany
Please give the following: kmtune -q...
Please give the following:
kmtune -q dbc_max_pct -q dbc_min_pct
kmtune -q nbuf -q bufpages
Showing results 1 to 25 of 36

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