What is GTAR command?
What is GTAR command?
gtar — Command Archiving/backup utility gtar options gtar is the GNU version of the archiving utility tar. It copies files into or out of a tar archive, reads the contents of a tar archive, and replaces files within an archive.
How do I tar a file in Solaris?
How to Use Tar command in Solaris 11
- -c: this switch will be used to compress the files in tar format.
- v: to view the compression.
- f: to specify the name of tar file.
- -t: this switch will be used to show the contents of the tar file.
- x: this switch will be used to uncompress the tar file.
How do I unzip a .GZ file in Solaris?
Decompressing gz files
- Open the terminal application.
- For remote systems use the ssh command for log in purposes.
- To decompress .gz files, use: gzip -d filename.gz.
- One can unzip and open gz file using: gunzip archive.gz.
- For .tar.gz/.tgz file try the tar command:
- Run the ls command to list the files.
How do I compress a folder in Solaris?
The -zcvf instruction stand for:
- -z : Compress the desired file/directory using gzip.
- -c : Stand for create file (output tar. gz file)
- -v : To display the progress while creating the file.
- -f : Finally the path of the desire file/directory to compress.
How do I gzip a directory in Solaris?
gz File in a Single Command in Solaris. Solaris does not ship with the GNU tar and by default, the tar command in Solaris does not allow you to create gzip or bzip2 files, but only pure tarballs. You will need to create a tar file first and then compress the tarball with the gzip command.
How to check installed memory on Solaris?
To see installed memory you can use this command: There’s also prtdiag -v | grep Memory. Additional methods are shown here: Used memory on Solaris 10. prtdiag -v | grep Memory This is not working for me…and also wanted to print free and available physical memory.
What is Solaris command in Unix?
Solaris is one of the flavor of UNIX and is currently controlled by Oracle corporation. Below are some of the useful Soalris command from DBA perspectives. Look at the wait: This is the number of IO operations that are waiting to be serviced.
What happens when a Solaris server runs out of memory?
When a Solaris server starts running out of memory it starts scanning for pages and that value shows how quickly it’s scanning. If you have a memory-critical application then that must be 0, if it isn’t then you need to add more memory. But as with all memory matters, that needs interpretation.
What is free memory on Solaris with ZFS?
Beware that the concept of “free memory” on Solaris with ZFS has become obscure given that ZFS will use whatever physical is available (for its cache) and release if some application asks for memory. So on a system with ZFS you’ll almost always see all memory as being used which is technically true.