2022-04-07

Regex to split htop details

 

^( *\d+) (\w+) +(\d+) +(-?\d+) +(\d+.?\d?\w?) +(\w+) +(\w+) +S +(\d+.?\d+) +(\d+.?\d+) +(\d+h?:?\d?\d?:?\.?\d?\d?) +[├│└][\+─ ] (.*)$


No comments:

Google Referrals