how can I copy?

Stuart Sears stuart at sjsears.com
Tue Mar 18 18:25:59 UTC 2008


chloe K wrote:
> Hi all
> 
> i am trying to copy this folder /proc to other computer

What exactly do you want to achieve by doing this?

> but all parameters in /proc are gone
> 
> eg: cpuinfo

This is because the 'files' in /proc don't actually exist as such.

/proc is a kernel reporting (and in some cases tuning) mechanism.
You can't really change much of it, but the items you can mess with are 
mostly controlled by sysctl, so
sysctl -a > mysysctls would copy those settings for you.

> how can I copy it and keep the information?

for individual files you could probably do something like this:

cat /proc/cpuinfo > cpuinfo.txt

and then copy the cpuinfo.txt file to another computer.

But it would help to know why you wish to do this as it seems there may 
be better ways to achieve your goals.

Stuart
-- 
Stuart Sears RHCA etc.




More information about the users mailing list