Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
CommandSummaryUseful sub-commands and optionsExample usageNotes
cat /proc/partitionsList disk partitions visible to Linux, mounted or not. Look for an unmounted device corresponding to a USB drive.

 

csetFront end for the Linux cpusets functionality for defining sets of CPUs and limiting specific processes to them.

proc -s <name> -e <command> Runs command on the CPUs in the named cpuset.

set -c <cpus> -s <name> Create new cpuset with given name and including specified set of cpus.

set --destroy <name> Deletes the named cpuset.

set -l List currently defined cpusets.

 
Create a cpuset containing just CPU 0, and run script.sh on that CPU:
$ sudo cset set -c 0 -s cpu-0
$ sudo cset proc -s
<name> -e <command> Runs command on the CPUs in the named cpuset.

set -l List currently defined cpusets.

 
 
 
 cpu-0 -e script.sh 

Create a cpuset containing CPUs 0-2, and run script.sh on those CPUs:

$ sudo cset set -c 0-2 -s cpus-3
$ sudo cset proc -s cpu-3 -e script.sh
  • Install the cpuset package if needed.
dpkg -lList all installed packages with summaries.   
lspciDisplays information about PCI buses and devices connected to them.
-k Show installed drivers for each connected device.Check if video cards are identified by the system correctly.

 

mount -t exfat <device> <mount-point>Mounts an exFAT drive. 

Mount an exFAT-formatted USB thumb drive partition /dev/sdb1 on /mnt/skope:

$ sudo mount -t exfat /dev/sdb1 /mnt/skope
  • Enable exFAT support by installing exfat-fuse:

$ sudo apt-get install exfat-fuse

ubuntu-drivers devicesShow devices which need drivers and the packages that can be installed to supply them. Find the recommended proprietary driver package for an installed NVIDIA GPU.