command result as varible
Hi
I'm trying display only a few information from result returned by script. My reslult is like: PHP Code:
How to division result to part? |
provided that backends is always the first field you can do this:
Code:
$ echo "backends:0 commits:1837 rollbacks:3 read:0 hit:0 ret:0 fetch:0 ins:0 del:0 dbname:postgres" | cut -d ' ' -f1 |
All times are GMT -5. The time now is 02:35 AM. |