0

I have to replace this line in Linux as odmget is an AIX command and is invalid in Linux.

C_RAWNODE=`odmget -q"attribute = node_number" CuAt|grep value|sed "s/\"//g"| \
3

Linux doesn't have an equivalent of the ODM, and so there's no equivalent command.

The configuration of Linux is spread throughout the filesystem and kernel.

On the assumption that node_number is related to clustering, you'll need to look at commands / files related to which ever clustering product you're using.

In short, it's not the command you're looking to replace, you need to alter the whole approach to getting that information on Linux.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.