Tag Info

Hot answers tagged

3

You can use the command: pmap -S <pid> to see all the memory statistics, including swap usage. With little shell magic you can wrap it in a bash loop: cd /proc for i in *; do SWAP=`pmap -S $i | grep ^total | awk '{ print $3; }'` [ "xx$SWAP" != "xx" ] && echo "$SWAP bytes $i" done | sort -n Output is in bytes, in a format: ...


2

Is there a NAT router between the two machines? It may be closing the connection do to inactivity and timeouts? The SSH client can turn on SSH-level KeepAlive to try to avoid this scenario. For openssh client, we include the following in the client-side config file (either /etc/ssh/ssh_config or ~/.ssh/config): KeepAlive yes


1

You can use pwdx in solaris and linux. pwdx <pid_number> example: pwdx $$ 25711: /export/home/pippo


1

Do you really want to use Solaris? Ubuntu can run ZFS. Other Linux variants can support ZFS. There are other Solaris-derived operating systems that can do it (OmniOS, OpenIndiana, etc.). Oh, and FreeBSD... Not to mention the appliance solutions: Zetavault, QuantaStor, napp-it, Nexenta, Cloudbyte... Anyway, I would use ZFS mirrors. Multiple vdevs and gives ...


1

The directory /export/home/user1 Does not exist. You will need to create it mkdir /export/home/user1 You'll then need to set the ownership using chown. You'll also need to create dotfiles. It may be easier at this point to remove the user see userdel -r and recreate it using the -m switch to useradd, this will create the users home directory etc ...



Only top voted, non community-wiki answers of a minimum length are eligible