Posts by Eduardo de Souza • 59 points
2 posts
-
1
votes5
answers69449
viewsA: How to make a regular expression for mobile phone?
^\([1-9]{2}\) 9[7-9]{1}[0-9]{3}\-[0-9]{4}$ [1-9]{2} = Two digits from 1 to 9. No DDD with digit 0. 9 = All cell phones from 2016 start by 9 [7-9]{1} = In the old numbering the phones started with 7,…
-
4
votes1
answer180
viewsQ: View all PHP scripts running via SSH in real time
I have some scripts that do a data Mining job, and in some cases need to run long processes that can consume a lot of CPU. I need to find a command via SSH to monitor all running PHP scripts.…