Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
I have a list of user names (some are repeated names) user process and total time process per user. user name| process name| process time (in...
I have a list of user names (some are repeated names) user process and total time process per user.
user name| process name| process time (in minutes)
example. Smiths|Login|2
how can I make a script do does the follows? I need the code.. this is Linux
1. Daily Processes
Extract the process names and use filtering command to sort in ascending order, and uniquely display (no duplicates) the process names.
2. Users
Extract the user names and use filtering command to sort in ascending order, and uniquely display (no duplicates) the user names.
3. Total Process time for User
Prompt and read user name. Extract lines from data file with given user name. Sum up and display, with descriptive output message, the number of processes and the total process time for user name.
- Comment Flag Question