Sponsored Content
Top Forums Shell Programming and Scripting Wall command with nice text formatting Post 302912981 by Don Cragun on Wednesday 13th of August 2014 05:56:28 AM
Old 08-13-2014
On many systems (including Linux, Solaris, and BSD derivatives; but not AIX or HP/UX), it would be simpler just to use:
Code:
wall myfile

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

nice (user command)

Can someone tell me .. how to find a user & process who has executed nice (scheduled priority) to one of his process. .Tks.. (5 Replies)
Discussion started by: sivan
5 Replies

2. UNIX for Advanced & Expert Users

process nice level command line vs cron

Under, Solaris 10 I have the following problem: A script executed at command line runs with nice level 0, as expected. Same script started under (user) crontab runs with nice level 2. I would prefer it run at 0. Is this possible? If so, how? Thanks. (0 Replies)
Discussion started by: henrydark
0 Replies

3. UNIX for Dummies Questions & Answers

is ‘nice’ command useful on a multi-CPU UNIX system?

Can someone tell me this. thanks (1 Reply)
Discussion started by: xoxouu
1 Replies

4. Programming

nice command and nice() system call

Hi I want to implement the nice command in the shell that I am building. I came to know that there is a corresponding nice() system call for the same. But since I will be forking different processes to run different commands typed on the command prompt, is there any way I can make a command... (2 Replies)
Discussion started by: tejbuch
2 Replies

5. UNIX for Dummies Questions & Answers

The nice command

hello everybody: I have some job running on tru64 system and Im the root, due to limited resources I end up with my job ( vdump) for example taking the lowest share, I researched the nice command on the net, but couldnt get enough info, can I use it to already running process or I only use it... (1 Reply)
Discussion started by: aladdin
1 Replies

6. UNIX Desktop Questions & Answers

Wall, Write, select users, pipe a text file, HELP Before I'm Bald!

OK... I'm fairly new to unix having the admin handed to me on a platter w/almost no training. However, being a programmer, I do pick up things fairly easily, but this one is getting the best of me. I have a unix server that runs multiple versions of the same ERP system, hand crafted for our... (1 Reply)
Discussion started by: chimodel
1 Replies

7. UNIX for Advanced & Expert Users

Is nice command a myth?

Hello, Some guy said to me that using the nice command to decrease the priority of a process is a myth, that the operating system corrects the priorities as the processes need cpu. Is this true? (4 Replies)
Discussion started by: psimoes79
4 Replies

8. Shell Programming and Scripting

Call Nice command (priority) from /bin/ksh

Hello, I am just starting with shell scripting, as everyone will soon see from my question. What I'm trying to do is call the Nice command to set the script process priority from /bin/ksh. The difference is I'm running it not directly through the shell, but through Bigfix (very similar to... (3 Replies)
Discussion started by: solly119
3 Replies

9. Shell Programming and Scripting

How to use nice command?

Dear Friends, I have a directory when i take du of that directory it takes alot of memory and cpu and I/O, i want to use nice to run my script that have du command slowly so it won't take I/O and cpu, please suggest. (6 Replies)
Discussion started by: learnbash
6 Replies

10. BSD

Very high nice percentage in top command

Hello Folks, Recently our FreeBSD 7.1 i386 system became very sluggish. Nothing much is happening over there & whatever is running takes eternity to complete. All the troubleshooting hinted towards a very high nice percentage. Can that be the culprit? Pasting snippets of top command,... (7 Replies)
Discussion started by: vibhor_agarwali
7 Replies
wall(1M)																  wall(1M)

NAME
wall - write message to all users SYNOPSIS
groupname] [file] DESCRIPTION
Without arguments, the command reads a message from standard input until end-of-file. Then it sends this message to all currently logged- in users preceded by: If the option is specified, sends the message to all currently logged-in groupname members (as specified in preceded by: If file is specified, reads file instead of standard input. is typically used to warn all users prior to shutting down the system. The sender must have appropriate privileges to override any protections the users may have invoked (see mesg(1)). has timing delays, and takes at least 30 seconds to complete. You must have appropriate privileges to override any protections users may have invoked (see mesg(1)). EXTERNAL INFLUENCES
International Code Set Support Single- and multibyte character code sets are supported. DIAGNOSTICS
The open on a user's tty file failed. WARNINGS
The command will be WITHDRAWN from X/Open standard and may not be portable to other vendor's platforms. AUTHOR
was developed by AT&T and HP. FILES
SEE ALSO
mesg(1), write(1). STANDARDS CONFORMANCE
wall(1M)
All times are GMT -4. The time now is 07:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy