Oslevel of AIX system

(imported comment written by Darknight)

ok xdaxdb…Even i have not found any inspector to find out teh relevance to get the oslevel of AIX maxchine but have not found any…

Fro the command oslevel -r it seems you are tyrying to get the technolgy level of AIX serer , if this is the case then you can use the below relevance to get the result:

if

(version

of

client

<

“8.2”
)

then

(
if

(
exists

((line

1

of

file ((pathname

of

(parent folder

of

client folder

of

current site))

&

“/__OSLevel/oslevel.txt”
)

as

string)

whose

(
exists

match (regex

“^[0-9]}-[0-9]{2{4}$”
)

of

it
)))

then

parenthesized part

1

of

match (regex

“^[0-9]{4}-([0-9]{2})$”
)

of

(line

1

of

file ((pathname

of

(parent folder

of

client folder

of

current site))

&

“/__OSLevel/oslevel.txt”
)

as

string)

else

“N/A”
)

else

(parenthesized part

1

of

match (regex

“^[0-9]{4}-([0-9]{2})$”
)

of

(current technology level

of

operating system

as
string))