Search Results

Search: Posts Made By: Beginer0705
1,466
Posted By yinyuemi
try: if [ $totalMemory -lt $setmem ] ; then ...
try: if [ $totalMemory -lt $setmem ] ; then


"[" followed by a space
"]" before by a space

and also you might need follow up the BeefStu's suggestion when building a var.
2,580
Posted By frank_rizzo
for osid in AAA BBB do echo "$osid: $(ps...
for osid in AAA BBB
do
echo "$osid: $(ps -u oracle -f|grep -c $osid)"
done
Showing results 1 to 2 of 2

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