≡ Menu

amount of time

Linux Display System Statistics Gathered From /proc

How do I display information from /proc such as memory, Load average, uptime, page activity, context, disk status, interrupts using a shell or perl script?
[click to continue…]

Linux / UNIX: Bash Script Sleep or Delay a Specified Amount of Time

How do I pause for 5 seconds or 2 minutes in my bash shell script on a Linux or Unix-like systems?
[click to continue…]

PHP Security: Limit Resources Used By Script

How do I control and put limits on php scripts such as maximum execution time of each script and upload file size?
[click to continue…]

Tweaking php For Maximum Execution Time For Scripts

I've been trying to migrate my webblogs using WordPress inbuilt import facility. I've exported current blog as a xml file and downloaded to my desktop. Next I navigated to my new blog's admin area and clicked on Manage > Import. However import failed after importing 50-60% posts only.

I went through Apache and PHP log files and I realized that the script was timed out. How do I fix this problem under Linux / UNIX?
[click to continue…]