Commit Graph

52 Commits

Author SHA1 Message Date
Sebastian Huber
2bd71d95b6 shell: Add PROFREPORT command 2015-03-06 16:20:00 +01:00
Sebastian Huber
50a50313cc score: Delete superfluous Heap_Statistics::instance
This value depends on the _Heap_Initialize() call sequence and carries
no useful information.
2015-01-22 07:52:50 +01:00
Sebastian Huber
d006b46df3 score: Add heap statistics
Add lifetime bytes allocated and freed since they were present in the
malloc statistics.  Add number of failed allocations.
2014-11-28 13:09:11 +01:00
Sebastian Huber
2c3c657625 score: Return heap stats via _Heap_Get_information
Print out heap statistics via the MALLOC and WKSPACE shell commands.
2014-11-28 13:09:07 +01:00
Sebastian Huber
01557b0c6e libcsupport: Delete malloc statistics
Use the heap handler statistics instead.  Add heap walk option to MALLOC
shell command.

close #1367
2014-11-28 11:23:53 +01:00
Sebastian Huber
43b09a9865 shell: Make mv, cp and rm usable for applications
close #2030
2014-11-27 13:37:52 +01:00
Sebastian Huber
8dbc612246 shell: Documentation 2014-11-20 10:30:26 +01:00
Sebastian Huber
3fe5d01bc0 shell: Add CMDLS, CMDCHOWN, CMDCHMOD commands 2014-11-20 10:30:26 +01:00
Sebastian Huber
bac3d6df35 shell: Rename HALT to SHUTDOWN command
Use a normal command for shutdown via exit().
2014-11-20 10:30:24 +01:00
Joel Sherrill
b422c54948 doc/shell: Correct build issues from fc9f8f5085 2014-09-18 08:57:11 -05:00
Chris Johns
fc9f8f5085 doc: Sort the shell file commands into alphabetical order. 2014-09-16 15:19:58 +10:00
Chris Johns
b299960aed shell: Add an md5 hash command for files.
This command lets you get an MD5 hash for a file in an RTEMS file system.
2014-09-16 15:19:58 +10:00
Chris Johns
a8fa078f1e shell: Add a ping command.
The ping code is taken from a recent FreeBSD release. Some options have been
tested, other not tested or do not work. This could be due to the age of
our TCP/IP stack.

This version of ping will not work if more than 64 file descriptors are
open at once because the select FD size is 64 as set in newlib.
2014-09-16 15:19:58 +10:00
Christian Mauderer
5c0c0cf2a6 privateenv: Use POSIX keys instead of task variables. 2014-03-27 14:50:36 +01:00
Christian Mauderer
6cd4a5ca2e cpukit/shell: Replace task variables with posix keys.
Use posix keys for current shell environment instead of task variables. With
this patch the shell needs one posix-key and one posix-key-value-pair
configured.

Update documentation for the shell.

Adapt samples/fileio:
- Add necessary objects.
- Add login function and custom device name for better testing of the shell.
2014-03-20 09:10:26 +01:00
Chris Johns
259328a78d cpukit/shell: Control help break with SHELL_LINES env variable.
Control the help command break with the SHELL_LINES evironment variable
where the numeric value is the number of lines to break on. If the
value is 0 the output is not broken. The default is 16 lines.

Add shell documentation for the help command.
2013-12-16 11:59:51 +11:00
Joel Sherrill
b885fe19ae doc/shell/Makefile.am: Fix dependency 2013-07-22 18:29:49 -05:00
Andrei Mozzhuhin
7bb71c7e9d shell: Add df command 2013-05-16 11:40:42 +02:00
Joel Sherrill
4eaf781826 doc master include files: Do not include top node on printed output
In PDF, DVI, and PostScript files, the contents of the @top
node were being printed. These are intended only for info
and html output formats.
2013-02-26 08:03:58 -06:00
Joel Sherrill
838bfb6b5d doc: Update version.texi and stamp-vti files
See http://www.rtems.org/pipermail/rtems-devel/2013-February/002466.html
for instructions on how to do this.
2013-02-26 08:03:58 -06:00
Joel Sherrill
b6ecf33c99 doc: Update to build info format with texinfo 4.13 and 5.0
Texinfo 5.0 is a complete reimplementation and has stricter
interpretations of the texinfo language.
2013-02-26 08:03:57 -06:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
9847d61df1 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Joel Sherrill
6d1a1d3ebb PR 2012 - mdump/wdump shell cmds handle length arg incorrectly; add ldump cmd
* libmisc/shell/main_mdump.c: Reworked to fix bugs in handling of the
	length argument and to provide an "ldump" command.  This file now also
	supports the "wdump" command.  In addition, an RTEMS API function called
	rtems_mdump() is provided to allow easy dumping from application code.
	* libmisc/shell/main_mwdump.c: Obsolete file.
	* libmisc/Makefile.am: Removed main_mwdump.c
	* libmisc/shell/shellconfig.h: Added "ldump" command.
	* shell/memory.t: Added documentation for the "ldump" command

Signed-off-by: Ric Claus <claus@SLAC.Stanford.edu>
2012-02-02 15:02:16 -06:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Joel Sherrill
abdeac2a14 2011-12-06 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1793/doc
	* .cvsignore, Makefile.am, README, configure.ac, index.html.in,
	main.am, project.am, ada_user/.cvsignore, ada_user/ada_user.texi,
	ada_user/example.texi, bsp_howto/.cvsignore,
	bsp_howto/bsp_howto.texi, cpu_supplement/.cvsignore,
	cpu_supplement/cpu_supplement.texi, cpu_supplement/preface.texi,
	develenv/.cvsignore, develenv/develenv.texi, develenv/intro.texi,
	filesystem/.cvsignore, filesystem/filesystem.texi,
	filesystem/preface.texi, networking/.cvsignore,
	networking/networking.texi, networking/preface.texi,
	porting/.cvsignore, porting/porting.texi, porting/preface.texi,
	posix1003.1/.cvsignore, posix1003.1/posix1003_1.texi,
	posix_users/.cvsignore, posix_users/posix_users.texi,
	posix_users/preface.texi, shell/.cvsignore, shell/preface.texi,
	shell/shell.texi, started/.cvsignore, started/started.texi,
	user/.cvsignore, user/c_user.texi, user/dirstat.texi,
	user/example.texi, user/glossary.texi, user/preface.texi: Convert
	from texi2www to texi2html.
	* texi2html_init.in: New file.
	* rtems_footer.html.in, rtems_header.html.in: Removed.
2011-12-06 15:12:48 +00:00
Joel Sherrill
b4f5d4dc21 2011-12-05 Joel Sherrill <joel.sherrilL@OARcorp.com>
* ada_user/version.texi, bsp_howto/version.texi,
	cpu_supplement/version.texi, develenv/version.texi,
	filesystem/version.texi, networking/version.texi,
	porting/version.texi, posix1003.1/version.texi,
	posix_users/version.texi, shell/version.texi, started/version.texi,
	user/version.texi: Update to match when files in directory where last
	touched.
2011-12-05 21:34:18 +00:00
Joel Sherrill
fa2812d130 2011-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* setup.def, shell/preface.texi: Bump to 4.10.99.0
2011-02-28 21:58:30 +00:00
Ralf Corsepius
485b1526f8 New. 2010-06-11 07:45:46 +00:00
Ralf Corsepius
e630235973 Remove EDITION (Unused) 2010-06-11 07:40:00 +00:00
Chris Johns
010f96f82d 2010-05-13 Chris Johns <chrisj@rtems.org>
* shell/file.t: Add dd, debugrfs, hexdump, ln, mknod, mkrfs, mv.
        * shell/general.t: Add time.
2010-05-13 03:45:02 +00:00
Sebastian Huber
29328f7af2 2010-05-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1512/doc
	* shell/general.t: Add rtc.
	* shell/file.t: Add fdisk.
2010-05-12 11:30:52 +00:00
Joel Sherrill
faeb54323b 2010-05-09 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1512/doc
	* shell/general.t: Add setenv, getenv, and unsetenv.
2010-05-09 23:13:26 +00:00
Joel Sherrill
9fb97de7bf 2009-03-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shell/confinit.t: New argument sequence for rtems_shell_init().
2009-03-30 17:05:04 +00:00
Joel Sherrill
1fb9fa1c82 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix_users/preface.texi, shell/preface.texi: Add stock
	acknowledgement paragraphs that are required when excerpting and
	reusing text from POSIX standards per the agreement at
	* common/opengroup_manpage_acknowledgement.texi,
	common/opengroup_preface_acknowledgement.texi: New files.
2009-02-27 18:04:44 +00:00
Joel Sherrill
0a90bf269b 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/rtems.t: Add halt command.
2009-02-19 19:20:51 +00:00
Joel Sherrill
b7c75137cf 2008-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/preface.texi: Bump version to 4.9.99.0
2008-10-01 17:16:29 +00:00
Joel Sherrill
5d2c65e0bd 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/rtems.t, user/conf.t, user/stackchk.t: Rename STACK_CHECKER_ON
	to more appropriate CONFIGURE_STACK_CHECKER_ENABLED.
2008-09-17 19:30:29 +00:00
Joel Sherrill
75d16dd808 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/Makefile.am, shell/rtems.t: Add pthread command.
2008-07-23 22:07:16 +00:00
Joel Sherrill
c2a5939f1b 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/confinit.t: New argument sequence for rtems_shell_init().
2008-07-16 17:13:35 +00:00
Joel Sherrill
faa242e89f 2008-02-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/general.t: Add sleep and echo commands.
2008-02-29 23:20:29 +00:00
Joel Sherrill
c2153cfd29 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/.cvsignore, shell/Makefile.am, shell/memory.t,
	shell/preface.texi, shell/shell.texi: Added much information the
	Preface. Created initial version of Configuration and Intialization
	chapter. Links are now complete from start to end of manual.
	* shell/confinit.t: New file.
2008-02-29 00:23:04 +00:00
Joel Sherrill
fbd6c0f11b 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/network.t: Document more commands and provide
	more examples.
2008-02-28 18:53:49 +00:00
Joel Sherrill
88d2967e3e 2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/general.t, shell/memory.t, shell/network.t,
	shell/rtems.t, shell/shell.texi: Many commands now have real
	descriptions with examples.
2008-02-27 21:46:27 +00:00
Joel Sherrill
7c14c4aaa3 2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/general.t: More commands documented.
2008-02-27 14:50:14 +00:00
Joel Sherrill
48039b09ad 2008-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/.cvsignore, shell/file.t: Add most of file commands.
2008-02-26 20:06:19 +00:00
Joel Sherrill
dc1c4308d6 2008-02-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/general.t, shell/memory.t, shell/network.t,
	shell/rtems.t: More descriptions and examples added.
2008-02-21 23:56:30 +00:00
Joel Sherrill
ea0804303b 2008-02-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/general.t, shell/memory.t, shell/network.t,
	shell/rtems.t: Add mount and cp command information from Chris Johns.
	Reformat some things.
2008-02-21 17:46:03 +00:00
Joel Sherrill
b88d9ccf1d 2008-02-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/general.t, shell/memory.t, shell/network.t,
	shell/rtems.t: A bit of clean up on the script.
2008-02-21 17:20:13 +00:00