CHAPTER 6

image

Advanced Scripting

Much of the power of a command-line interface like EM CLI is the ability to automate the execution of multiple commands at a time. This chapter dives deep into the marriage of Python and EM CLI in what is known as interactive and scripting mode.

The first part of the chapter reviews some of the history of where Python, Jython, and JSON came from. Being able to take advantage of Python functionality in EM CLI requires a basic understanding of programming and Python syntax. An introduction to Python in this chapter, including examples, will allow even the first-time Python user to tackle Python efficiently in EM CLI. ...

Get Oracle Enterprise Manager 12c Command-Line Interface now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.