Basically I would like to know the command in linux to get "ONLY THE PERCENTAGE OF USE" of RAM and DISK. I emphasize "ONLY THE PERCENTAGE" because I would like to save this value in a String without first doing any treatment.
I would greatly appreciate your collaboration. Greetings and thanks.