tnsping-oracle

Oracle12c

Container database=orcl, pluggable database=pdbsoa

dba@solasoa:~$ tnsping oraclehost:1521/pdbsoa

TNS Ping Utility for Solaris: Version 12.1.0.2.0 - Production on 07-JUN-2018 09:04:53

Copyright (c) 1997, 2014, Oracle.  All rights reserved.

Used parameter files:
/oracle/dba/app/dba/product/12.1.0/dbhome_1/network/admin/sqlnet.ora

Used EZCONNECT adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=pdbsoa))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.56.1)(PORT=1521)))
OK (40 msec)
dba@solasoa:~$