ibm ques

Published on June 2016 | Categories: Documents | Downloads: 36 | Comments: 0 | Views: 264
of 4
Download PDF   Embed   Report

Comments

Content

Q.How to check environment variables env Q. How to check all system-wide variables set -a Q. What is ACL Q. How to check acl of any file getfacl file_name getfacl -a ===to check all acls Q. How to set acl in particular directory setfacl -m d:u:<username>:<permission> <filename> Q. What is sticky bit Q. How to check user password age, expiry etc.. chage username Q. entries in /etc/shadow file Q. What is the diff between at & crontab Q. Crontab entry details mins hours day(1-31) month(1-12) week(1-7) command Q. IN place of "day of week", 0 denotes what? SUNDAY Q. Disable root login root /sbin/nologin switch Q. How to rebuild the initrd mkinitrd command - what does this command do mkinitrd /boot/initrd........img Q. Command to configure raid mdadm Q. What is the difference between Raid 1 and Raid 5 Q. 5 disk into raid 5, 100 GB each. How much storage you will get, raid 5 formul a 400 GB Formula is m-1 or (total no of disks-1) Q. How to check disk usage fo hard disks df -h du -h Q. Backup command tar Third Party utility - Veritas Q. What is signal? Two types - Sigterm and Sigkill

-1(HUP) - Hangup signal, Reread the config file -9 - Kill signal -15 - termination signal Q. What is DHCP, its daemon, config file daemon - dhcpd config file- /etc/dhcpd.conf database file- /var/lib/dhcp/dhcpd-leases Q. what is symlinks? Types Two - Soft link and Hard link Q. What is umask? umask for user - 002 umask for root - 022 Q. What is the defualt value of permission of the files and directories created by root with umask 022 For files - 644 For directories - 755 Q. What is fstab? Its entry. file system table Q. LOgs are saved in which location /var/log/ Q. How to set syslog options so that client system related msgs stored in syslog server USe '-r' oprtion in /etc/sysconfig/syslog file in syslog server In client, add 'authpriv.* @ip_add_of_syslog_server' in /etc/syslog.conf. Q. What is init 3 & 5. Init 1 usage single user mode, root passwd Q. How to check label of mounted file system e2label command

Q. How to check all mounted file system mount mount -a Q. Command to get Machine configuration Name: arch - print machine architecture Synopsis: arch Description: arch is deprecated command since release util-linux 2.13. U se uname -m. On current Linux systems, arch prints things such as "i386", "i486", "i5 86", "alpha", "sparc", "arm", "m68k", "mips", "ppc". II) Name: uname - print system information Synopsis: uname [OPTION]... Description: Print certain system information. With no OPTION, same as s. -a, --all print all information, in the following order, except omit -p and -i if unknown: -s, --kernel-name print the kernel name -n, --nodename print the network node hostname -r, --kernel-release print the kernel release -v, --kernel-version print the kernel version -m, --machine print the machine hardware name -p, --processor print the processor type or "unknown" -i, --hardware-platform print the hardware platform or "unknown" -o, --operating-system print the operating system --help display this help and exit --version output version information and exit III) sam, click on Performance Monitors Section and then click on System Prop erties. There you can open The category processor and you will have your solution. IV) You can find some CPU infos in "machinfo" command, which will returns th e number of cores. V) To get the number of sockets(physical processors) from the psp_socket_id in pstat_getprocessor(). VI) To check the RAM size I)

# dmesg | grep RAM There are three another way to check memory on Linux 1:- free -t -m 2: vmstat 3: top

Q. Patch management using RHN

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close