Hi, my script queries some linux servers for ram memory, but it returns the value as:
$ram = MemTotal: 3521384 kB
Is there a way that i can remove all characters except numbers from the variable?
Thanks
Hi, my script queries some linux servers for ram memory, but it returns the value as:
$ram = MemTotal: 3521384 kB
Is there a way that i can remove all characters except numbers from the variable?
Thanks