Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Assistance with my one line command to find all inactive kernels Post 303040308 by greavette on Saturday 26th of October 2019 10:41:26 AM
Old 10-26-2019
Hello Scrutinizer,

Thank you, this was the command I needed! Thanks very much for your help.

Hello Neo, the command you asked me to issue on my server returned no value. But Scrutinizer answer has helped me with my issue.

Thank you all.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Interpreting a script line by line assistance

I'm not that good at scripting and I have to intrepret this script line by line. Can someone please assist me in completing this. Your assistance is greatly appreciated. #!/bin/sh # adduser - Adds a new user to the system, including building their # home directory, copying in... (0 Replies)
Discussion started by: mdpgc
0 Replies

2. UNIX for Dummies Questions & Answers

Command assistance

Hi, We currently use the below basic scripts to output details that the business requires for our AIX and Sun servers. I have been asked to produce the same sort of script to be used for our NCR MP-RAS UNIX and OS/2 UNIX servers but am not formilar with these forms of Unix. Would greatly... (0 Replies)
Discussion started by: kmuir
0 Replies

3. UNIX for Dummies Questions & Answers

find and replace command in one line using one command

Hi, I have a entry in the file as ::BSNL GUJARAT::India::OUT::NAT::REWEL::POSTPAID::919426199995 if u see this, i have the delimiter as :: , all i want is to replace "::" as ":" so how to do that.. pls help thanks (10 Replies)
Discussion started by: vasikaran
10 Replies

4. UNIX for Advanced & Expert Users

Assistance Needed With Find/Replace in Vi

Hello All I have always had a question about find and replace in Vi. As this uses Vi, sed, and RegEx I never knew how or where to post the question but I thought I would give it a shot here. Say I have a text file filled with the following: Sue, your IP address is 192.168.1.10 which is... (4 Replies)
Discussion started by: NoSalt
4 Replies

5. Programming

How to find inactive time of a process?

Hi, I'm trying to write a C program that finds idle login sessions on RHEL6 and kill the sessions which are idle(inactive) for, say, more than 15 minutes. I tried to use procfs.h is my code. But it doesn't seem to support enough API's as OS Solaris does.(Solaris supports API's that can populate... (10 Replies)
Discussion started by: shreeda
10 Replies

6. UNIX for Dummies Questions & Answers

[Solved] Assistance with find command please

Trying to locate files less than xx days old, throughout all directories/subdirectories, but excluding certain types of directories and files. The directories I want to search all contain the same characteristic (dbdef, pldef, ghdef, etc), and there are subdirectories within that I need to... (2 Replies)
Discussion started by: Condmach
2 Replies

7. UNIX for Advanced & Expert Users

Find Inactive VG

lsvg -o shows active VGs. Is there a way to find inactive VGs with a command? Please advise. (2 Replies)
Discussion started by: Daniel Gate
2 Replies

8. UNIX for Dummies Questions & Answers

To find and display the middle line in a file using single line command.

Hi all, How can i display the middle line of a file using a single line command? (6 Replies)
Discussion started by: Lakme Pemmaiah
6 Replies

9. Shell Programming and Scripting

Assistance with my Find command to identify last part of a file name and report the name found

Hello Forum, We have two bootstraps of Chef in our environment which are identified by colour: /var/chef/cache/cookbooks/bootstrap_cookbooks_version_green and /var/chef/cache/cookbooks/bootstrap_cookbooks_version_red I'm attempting to identify which version is installed based on the name... (11 Replies)
Discussion started by: greavette
11 Replies
tpm_setactive(8)					      System Manager's Manual						  tpm_setactive(8)

							  TPM Management - tpm_setactive

NAME
tpm_setactive - change TPM active states SYNOPSIS
tpm_setactive [OPTION] DESCRIPTION
tpm_setactive reports the status of the TPM's flags regarding the active state of the TPM. This is the default behavior and also accessible via the --status option. Requesting a report of this status prompts for the owner password. The --active option changes the TPM to the active state (via the TPM_PhysicalSetDeactivated API). This operation requires evidence of physical presence, is persistent and requires a reboot to take effect. The --inactive option (via the TPM_PhysicalSetDeactivated API) changes the TPM to the inactive state. This operation requires evidence of physical presence, is persistent and requires a reboot to take effect. An inactive TPM is essentially off but still allows for a tpm_takeownership to occur. The --temp option causes deactivation (via the TPM_SetTempDeactivated API) to happen immediately but only endure for the current boot cycle. The --status, --active, --inactive, and --temp options are mutually exclusive and the last one on the command line will be carried out. -h, --help Display command usage info. -v, --version Display command version info. -l, --log [none|error|info|debug] Set logging level. -u, --unicode Use TSS UNICODE encoding for passwords to comply with applications using TSS popup boxes -s, --status Report the status of flags regarding the TPM active states. -a, --active Make the TPM active. Operation is persistent, requires phyiscal presence to authorize, and a reboot to take effect. -i, --inactive Make the TPM inactive. Operation is persistent, requires phyiscal presence to authorize, and a reboot to take effect. -t, --temp Makes the TPM inactive for the current boot cycle only. -z, --well-known Authenticate using 20 bytes of zeros as owner password (the default TSS Well Known Secret), instead of prompting for an owner password. SEE ALSO
tpm_version(1), tpm_setpresence(8), tpm_takeownership(8), tpm_setenable(8), tcsd(8) REPORTING BUGS
Report bugs to <trousers-users@lists.sourceforge.net> TPM Management 2005-05-06 tpm_setactive(8)
All times are GMT -4. The time now is 02:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy