I have a KSH crawler script that crawls filesystems on my network, and i would like to limit it to 25% cpu usage, so it does not impact running systems. I am currently using nice but when i run SED, FIND, and some other commands CPU is going above 60% and I dont want that to happen.
I have heard of ulimit, but that is for BASH. Is there a KSH variant of this?