1. Is there a way to count the number of bytes of a variable?
example:
abc@yahoo.com is 13 bytes
2. Cut command only allows one byte for delimiter
example: cut -f1 -d'.'
delimited by period. Is there a way to have two or more characters in the delimiter field?
thanks in adavance.
:) (4 Replies)
Hello Expert! :b:
Question for you guys, Can anyone tell me how to use terminal emulator on Windows XP to view Solaris config? I have no idea on Solaris and the only thing I could do is to boot it up. Honestly, I have given a tasked to delete all the files and some necessary memory information... (2 Replies)
In my server migration requirement, I need to compare if one file on old server is exactly the same as the corresponding file on the new server.
For diff and comm, the inputs need to be sorted. But I do not want to disturb the content of the file and need to find byte-to-byte match.
Please... (4 Replies)
Hi All,
I am working with the Solaris 9.
In df -h command / file system size is 9.6 GB , used 7.5 GB and avialble space is 2.1. OK
But in du -hd command it is showing some 4.1 GB only.
How to find out that remaining 3.4GB.
Can you please help me ...
Thanks and Regards, (1 Reply)
Hi,
In df -h root file system showing
(total size) (used) (free)
/dev/dsk/c0t0d0s0 11G 7.6G 2.8G 73% /
but du -hd command showng 5.1 gb used sapce.
I am missing 3.00 gb space.
Here I have to knoe where is Remaining space... (2 Replies)
Hi All,
This is Babu working as a system administrator.
Here I am getting one problem with one of my Sun server's root (/) file system.
In df -h command / file system showing 7.8 GB used space.But in du -hd command it showing 5.2 gb only.
Please can any one help me resolve this issue... (2 Replies)
Hi Administrators,
I have one issue related to GPFS filesystem. We have bad entries in this file system, which reflects error like
ls: 0653-341 The file <filename> does not exist.
when we give "ls -ltr" on this directory.
So we taken the FS filesystem offline and followed the below steps.
... (6 Replies)
I have a C++ binary executable installed in a file system which is shared across multiple solaris boxes.
When I start this executable from one of the boxes,I am able to start only 4 parallel instances and from the 5th instance onwards I am getting the following error.
fatal: libdb2.so.1:... (2 Replies)
Hi gurus,
Need your help ,
Am facing some issue with one of the ext3 file system.while rebooting it failed to mount fs after running fsck i tried manuall but still no luck.However i made the machine up but am unable to mount file system can some one please help me.
root@vm258902]~# cat... (2 Replies)
Trying to load a specific Traditional Chinese Character on an HP UX platform for a Taiwan database. Data is converting to ?. Database has existed since 2008 and this is the first issue I've seen where a user is unable to save the multi-byte character in the database. I'm thinking this is may be... (0 Replies)
Discussion started by: OHcoder
0 Replies
LEARN ABOUT CENTOS
systemd-tmpfiles-clean.service
SYSTEMD-TMPFILES(8) systemd-tmpfiles SYSTEMD-TMPFILES(8)NAME
systemd-tmpfiles, systemd-tmpfiles-setup.service, systemd-tmpfiles-setup-dev.service, systemd-tmpfiles-clean.service, systemd-tmpfiles-
clean.timer - Creates, deletes and cleans up volatile and temporary files and directories
SYNOPSIS
systemd-tmpfiles [OPTIONS...] [CONFIGFILE...]
systemd-tmpfiles-setup.service
systemd-tmpfiles-setup-dev.service
systemd-tmpfiles-clean.service
systemd-tmpfiles-clean.timer
DESCRIPTION
systemd-tmpfiles creates, deletes, and cleans up volatile and temporary files and directories, based on the configuration file format and
location specified in tmpfiles.d(5).
If invoked with no arguments, it applies all directives from all configuration files. If one or more filenames are passed on the command
line, only the directives in these files are applied. If only the basename of a configuration file is specified, all configuration
directories as specified in tmpfiles.d(5) are searched for a matching file.
OPTIONS
The following options are understood:
--create
If this option is passed, all files and directories marked with f, F, w, d, D, p, L, c, b, m in the configuration files are created or
written to. Files and directories marked with z, Z, m have their ownership, access mode and security labels set.
--clean
If this option is passed, all files and directories with an age parameter configured will be cleaned up.
--remove
If this option is passed, all files and directories marked with r, R in the configuration files are removed.
--boot
Also execute lines with an exclamation mark.
--prefix=PATH
Only apply rules that apply to paths with the specified prefix. This option can be specified multiple times.
--exclude-prefix=PATH
Ignore rules that apply to paths with the specified prefix. This option can be specified multiple times.
--help
Prints a short help text and exits.
It is possible to combine --create, --clean, and --remove in one invocation. For example, during boot the following command line is
executed to ensure that all temporary and volatile directories are removed and created according to the configuration file:
systemd-tmpfiles --remove --create
EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise.
SEE ALSO systemd(1), tmpfiles.d(5)systemd 208SYSTEMD-TMPFILES(8)