Use prstat to display processes ordered by memory used, and show a summary output of memory consumption by user.
#prstat -a -s rss
if you want to see what procs are using most memory, use this command so u have a sorted list of procs.
#prstat -s size
Use prtconf to display the total physical memory installed on the machine
#prtconf -v | head -3
Use memstat to have a peek at what the kernel memory usage is
#echo "::memstat" |mdb -k
If you’re using ZFS check how much is being used by the ARCcache.
# kstat -m zfs |grep size
Am I swapping? watch the swap in/out columns; if they’re not 0, you need more RAM
#vmstat 3
#swap -l
#df -kh swap
use sar to reports kernel memory allocation (KMA) activities:
#sar -k 1 5
There are severals ways to mount samba share folders into OSMC. the first step is to turn on the SSH Services in your OSMC go to setting OSMC and choose services by default OSMC SSH will use osmc as its default user and osmc as its default password. second step is to share the folder(s) you want to share to osmc to do this just do a share configuration in windows, there are many links to provide this tutorial. third step is to mount the shares folder(s) to the OSMC. forth step is to make sure that the cifs-util module are loaded to the osmc fifth step is to mount them you can use the mount command or you can mapped the samba folders through fstab to do manual mount type in: mount -t cifs -o username=Administrator,password=Password // / /mnt/ or you can edit the /etc/fstab //source_ip/share_folder /target_directory cifs username=YOURUSERNAME,password=YOURPASSWORD,iocharset=utf8,file_mode=0777,dir_mode=0777 That's it but when osmc rebooted, you might want to ...
Comments