hi
i have the following scenario
#!/bin/sh
a=21.0
b=33.0
c=16.0
cmd=20
cmd1=30
if && ]
then
echo "problem....."
exit 1
else
echo "ok"
exit 0
fi
the issue here is the above condition is never TRUE coz a>cmd && b >cmd1 (7 Replies)
Hello,
This must be a novice question to you folks. But I searched through various places and did not find an answer to this question:
How do we perform a logical OR operation using sed command? For example, I want to write a command that extracts all the text between pattern1 and pattern2 OR... (0 Replies)
Hi can someone please help me on this.
I need to perform this code:
Grep any lines that meets the following criteria
(A AND B) OR (A AND C)
I tried this code, but it didn't work
Grep-I "A &&B" | "A&&C" *.* $
thanks in advance (12 Replies)
Hi,
I have a script testor.s which takes a string as command line argument,
Contents of the script:
#!/bin/ksh -x
if ]
then
echo "error"
else
echo "correct"
fi
Here, though i provide the command line argument as "WO_STMT_05292009", it displays error
Is there... (3 Replies)
I'm trying to find out how many logical partitions our AIX box has. I'm running the command: topas -C
and nothing is showing up. Is it safe to say that there is only one LPAR, which is what AIX is installed on?
Move to AIX - jim mc (2 Replies)
Hello,
This is a programming question as well as a suse question, so let me know if you think I should post this in programming.
I have an application that I compiled under opensuse 12.2 using g77-3.3/g++3.3. The program compiles and runs just fine. I gave the application to a colleague who... (2 Replies)
I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following:
sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm
Loaded plugins: fastestmirror
Setting up Local Package... (13 Replies)
Discussion started by: gw1500se
13 Replies
LEARN ABOUT OSX
amt
AMT(8) BSD System Manager's Manual AMT(8)NAME
amt -- Abstract Machine Test Utility
SYNOPSIS
amt [-m] [-p] [-q] [-s]
DESCRIPTION
The amt utility is used to verify that the low level functions necessary to enforce requirements of the Controlled Access Protection Profile
(CAPP) are working correctly.
The amt utility must be executed with sufficient privileges and performs the following tests:
Memory Read and Write
This test allocates between 5% to 10% of physical memory and writes data to it, then reads the memory back to ensure the values writ-
ten remain unchanged.
Memory Separation and Protection
This test ensures that user space programs cannot read and write to areas of memory that is protected or is not shared.
Privileged Instructions
This test ensures that the enforcement of the property that privileged instructions should only be in supervisor mode is still in
effect. The set of privileged instructions tested to confirm this is architecture dependent.
The options are as follows:
-m Skip the memory test.
-p Skip the privileged instructions test.
-q Suppress the screen output.
-s Skip the memory separation and protection test.
EXIT CODES
<0 An error occured in executing the tests.
=0 All the tests passed.
>0 The number of tests that failed or were skipped.
NOTES
The overall result (pass or fail) is logged in the audit trail and system log. The auditd(8) daemon must already be running for the results
to be stored in the audit trail file.
One of the above test may be skipped without getting a negative result. A test is skipped either with one of the above command-line options
or automatically if there is not a test compatiable with the Target Of Evaluation (TOE). The audit administrator may want to perform the mem-
ory test only on startup since it can have large negative impact on the system performance.
SEE ALSO audit(2)auditd(8)syslog(3)syslogd(8)BSD August 14, 2008 BSD