Sign in to follow this  
Followers 0
evil0zero

Hmmmmmmm

3 posts in this topic

try this simple script:

#sync.sh
sync;
sync;
sh sync.sh;

execute from your shell and watch your system resources

[]# sh sync.sh

hit ctrl-c before it starts eating swap memory or be sorry.

Edited by Mikhail
0

Share this post


Link to post
Share on other sites

Or even better:

while [ 1 ]; do
sync
sh $0
done;

But let's face it, it's about as useful and fun as an appendix.

0

Share this post


Link to post
Share on other sites

I actually use that to purge my cache

could you break down your code and explain how it is working? that is new

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0