Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Template modifications
#11
I added another div on the right for system information. Please redownload the archive to see it. Right now I just pasted the result of the script there, it's not dynamic.

I use a small script to generate that information and I think it would be usefull if you could include it with php exec or something. I didn't want to run the script from the template file.
<code>
#!/bin/bash
echo ""
echo "=========================================================================="
echo "Memory: used free (MB)"
free -m | grep buffers/ca | cut -d":" -f2
echo "--------------------------------------------------------------------------"
df -h -t ext3
echo "--------------------------------------------------------------------------"
uptime
echo -n " Failed auth attempts in the log: "
cat /var/log/auth.log | grep "authentication failure" | wc -l
echo "=========================================================================="
echo ""
</code>

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#12
did you finish your improvements with xp4 ?

Restored from old drupal forum, for user uid:700 username:deconectat
You may reset your password to access your new account here.
Reply
#13
I've made a few more changes. Please download it from:
http://s6.transfer.ro/storage/xp4-f24b9.tar

I don't plan to make any more changes for now, so you can consider it a final version. Smile

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping